Professional Documents
Culture Documents
Ebffiledoc - 188download PDF Building Web Apps With Wordpress Wordpress As An Application Framework Brian Messenlehner Ebook Full Chapter
Ebffiledoc - 188download PDF Building Web Apps With Wordpress Wordpress As An Application Framework Brian Messenlehner Ebook Full Chapter
WordPress as an Application
Framework Brian Messenlehner
Visit to download the full and correct content document:
https://textbookfull.com/product/building-web-apps-with-wordpress-wordpress-as-an-a
pplication-framework-brian-messenlehner/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...
https://textbookfull.com/product/wordpress-genius-guide-coll/
https://textbookfull.com/product/wordpress-fundamentals-a-
comprehensive-beginner-s-guide-to-wordpress-3rd-edition-kathleen-
peterson/
https://textbookfull.com/product/wordpress-for-beginners-imagine-
publishing-ltd/
https://textbookfull.com/product/wordpress-plugin-
development-2nd-edition-williams/
WordPress Security Made Easy 1st Edition Niko Guruli
https://textbookfull.com/product/wordpress-security-made-
easy-1st-edition-niko-guruli/
Server Side Swift with Vapor Building Web APIs and Web
Apps in Swift 3rd Edition Raywenderlich.Com Tutorial
Team
https://textbookfull.com/product/server-side-swift-with-vapor-
building-web-apis-and-web-apps-in-swift-3rd-edition-
raywenderlich-com-tutorial-team/
https://textbookfull.com/product/practical-node-js-building-real-
world-scalable-web-apps-azat-mardan/
https://textbookfull.com/product/progressive-web-apps-with-react-
create-lightning-fast-web-apps-with-native-power-using-react-and-
firebase-1st-edition-scott-domes/
https://textbookfull.com/product/introducing-play-framework-java-
web-application-development-second-edition-prem-kumar-
karunakaran/
1. Foreword
2. Preface
a. What Is a Website?
b. What Is an App?
c. What Is a Web App?
i. Features of a Web App
ii. Mobile Apps
iii. Progressive Web Apps
i. What Is SchoolPress?
ii. SchoolPress Runs on a WordPress
Multisite Network
iii. The SchoolPress Business Model
iv. Membership Levels and User Roles
v. Classes Are BuddyPress Groups
vi. Assignments Are a CPT
vii. Submissions Are a (Sub)CPT for
Assignments
viii. Semesters Are a Taxonomy on the Class
CPT
ix. Departments Are a Taxonomy on the
Class CPT
x. SchoolPress Has One Main Custom
Plugin
xi. SchoolPress Uses a Few Other Custom
Plugins
xii. SchoolPress Uses the Memberlite
Theme
4. 2. WordPress Basics
i. Root Directory
ii. /wp-admin
iii. /wp-includes
iv. /wp-content
i. wp_options
ii. Functions Found in /wp-
includes/option.php
iii. wp_users
iv. Functions Found in /wp-includes/…
v. wp_usermeta
vi. wp_posts
vii. Functions Found in /wp-
includes/post.php
viii. wp_postmeta
ix. Functions Found in /wp-
includes/post.php
x. wp_comments
xi. Functions Found in /wp-
includes/comment.php
xii. wp_commentsmeta
xiii. Functions Found in /wp-
includes/comment.php
xiv. wp_terms
xv. Functions Found in /wp-
includes/taxonomy.php
xvi. wp_termmeta
xvii. wp_term_taxonomy
xviii. /wp-includes/taxonomy.php
xix. wp_term_relationships
c. Hooks: Actions and Filters
i. Actions
ii. Filters
d. Development and Hosting Environments
i. Working Locally
ii. Choosing a Web Host
iii. Development, Staging, and Production
Environments
e. Extending WordPress
5. 3. Using WordPress Plugins
a. The General Public License, Version 2, License
b. Installing WordPress Plugins
c. Building Your Own Plugin
d. File Structure for an App Plugin
i. /adminpages/
ii. /classes/
iii. /css/
iv. /js/
v. /images/
vi. /includes/
vii. /includes/lib/
viii. /pages/
ix. /services/
x. /scheduled/
xi. /schoolpress.php
i. Admin Columns
ii. Advanced Custom Fields
iii. BadgeOS
iv. Posts 2 Posts
v. Members
vi. W3 Total Cache
vii. Yoast SEO
h. Premium Plugins
i. Gravity Forms
ii. BackupBuddy
iii. WP All Import
i. Community Plugins
i. BuddyPress
6. 4. Themes
a. Themes Versus Plugins
e. Style.css
i. Versioning Your Theme’s CSS Files
f. functions.php
g. Themes and CPTs
h. Popular Theme Frameworks
i. Navigation Menus
ii. Dynamic Menus
l. Responsive Design
i. Device and Display Detection in CSS
ii. Device and Feature Detection in
JavaScript
iii. Device Detection in PHP
iv. Final Note on Browser Detection
7. 5. Custom Post Types, Post Metadata, and Taxonomies
i. Theme My Login
ii. Hide the Admin Bar from
Nonadministrators
iii. Paid Memberships Pro
iv. PMPro Register Helper
v. Members
vi. WP User Fields
9. 7. Working with WordPress APIs, Objects, and Helper
Functions
a. Shortcode API
i. Shortcode Attributes
ii. Nested Shortcodes
iii. Removing Shortcodes
iv. Other Useful Shortcode-Related
Functions
b. Widgets API
d. Settings API
e. Rewrite API
i. Adding Rewrite Rules
ii. Flushing Rewrite Rules
iii. Other Rewrite Functions
f. WP-Cron
i. Adding Custom Intervals
ii. Scheduling Single Events
iii. Kicking Off Cron Jobs from the Server
iv. Using Server Crons Only
g. WP Mail
i. Sending Nicer Emails with WordPress
i. Heartbeat API
10. 8. Secure WordPress
i. Update Frequently
ii. Don’t Use the Username “admin”
iii. Use a Strong Password
iv. Examples of Bad Passwords
v. Examples of Good Passwords
c. Hardening WordPress
i. Don’t Allow Admins to Edit Plugins or
Themes
ii. Change Default Database Tables Prefix
iii. Move wp-config.php
iv. Hide Login Error Messages
v. Hide Your WordPress Version
vi. Don’t Allow Logins via wp-login.php
vii. Add Custom .htaccess Rules for
Locking Down wp-admin
d. SSL Certificates and HTTPS
i. Installing an SSL Certificate on Your
Server
ii. WordPress Login and WordPress
Administrator over SSL
iii. Debugging HTTPS Issues
iv. Avoiding SSL Errors with the “Nuclear
Option”
e. Back Up Everything!
f. Scan, Scan, Scan!
g. Useful Security Plugins
i. Spam-Blocking Plugins
ii. Backup Plugins
iii. Firewall/Scanner Plugins
iv. Login and Password-Protection Plugins
h. Writing Secure Code
i. Discovery
ii. Authentication
iii. Routes and Endpoints
iv. Requests
v. Responses
d. Adding Your Own Routes and Endpoints
i. register_rest_route( $namespace,
$route, $args, $override );
ii. Setting Up the WordPress Single Sign-
On Plugin
iii. Adding the /wp-sso/v1/check Route
iv. Bundling Basic Authentication with
Our Plugin
v. Using the Endpoint We Set Up to
Check User Credentials
i. $blog_id
ii. is_multisite()
iii. get_current_blog_id()
iv. switch_to_blog( $new_blog )
v. restore_current_blog()
vi. get_blog_details( $fields = null,
$get_all = true )
vii. update_blog_details( $blog_id,
$details = array() )
viii. get_blog_status( $id, $pref )
ix. update_blog_status( $blog_id, $pref,
$value )
x. get_blog_option( $id, $option,
$default = false )
xi. update_blog_option( $id, $option,
$value )
xii. delete_blog_option( $id, $option )
xiii. get_blog_post( $blog_id, $post_id )
xiv. add_user_to_blog( $blog_id,
$user_id, $role )
xv. wpmu_delete_user( $user_id )
xvi. create_empty_blog( $domain, $path,
$weblog_title, $site_id = 1 )
xvii. Functions We Didn’t Mention
15. 13. Localizing WordPress Apps
a. Do You Even Need to Localize Your App?
b. How Localization Is Done in WordPress
c. Defining Your Locale in WordPress
d. Text Domains
e. Hosting
i. WordPress-Specific Hosts
ii. Rolling Your Own Server
f. Selective Caching
i. The Transient API
ii. Multisite Transients
g. Using JavaScript to Increase Performance
h. Custom Tables
i. Bypassing WordPress
17. 15. Ecommerce
a. Choosing a Plugin
i. WooCommerce
ii. Paid Memberships Pro
iii. Easy Digital Downloads
b. Payment Gateways
c. Merchant Accounts
d. Setting Up SaaS with Paid Memberships Pro
e. The SaaS Model
i. Elasticsearch
ii. ElasticPress by 10up
iii. Google Vision
iv. Google Maps
v. Google Translate
vi. Twilio
vii. Other Popular APIs
c. Migrations
i. Host Migrations
ii. Platform Migrations
iii. Create a Data Mapping Guide
20. 18. The Future
a. Where We’ve Been
b. The REST API
“Brian and Jason have grown side by side with WordPress for
years, and successfully demonstrate how, for the right kind
of app, developers can leverage that engine to build more
secure, more performant applications in half the time.”
—Jake Goldman, President and Founder of 10up
SECOND EDITION
See http://oreilly.com/catalog/errata.csp?isbn=9781491990087
for release details.
While the publisher and the authors have used good faith
efforts to ensure that the information and instructions
contained in this work are accurate, the publisher and the
authors disclaim all responsibility for errors or omissions,
including without limitation responsibility for damages resulting
from the use of or reliance on this work. Use of the information
and instructions contained in this work is at your own risk. If
any code samples or other technology this work contains or
describes is subject to open source licenses or the intellectual
property rights of others, it is your responsibility to ensure that
your use thereof complies with such licenses and/or rights.
978-1-491-99008-7
Another random document with
no related content on Scribd:
BRICK HORIZONS
Have we not marked Earth’s limits, followed its long ways round,
Charted our island world, and seen how the measureless deep
Sunders it, holds it remote, that still in our hearts we keep
A faith in a path that links our shores with a shore unfound?
They have their bounds those deeps, and the ways that end are long;
But the soul seeks not for an end,—its infinite paths are near;
Over its unknown seas by the light of a dream we steer,
Through its enchanted isles we sail on an ancient song.
Here, where a man and a maid in the dusk of the evening meet,
Here, where a grave is green and the larks are singing above,
The secret of life everlasting is held in a name that we love,
And the paths of the infinite gleam through the flowers that grow at our
feet.
A DESERTED HOME
A id th b dl d k
Amid the boundless and unknown
Each calls some guarded spot his own;
A shelter from the vast we win
In homely hearths, and make therein
The glow of light, the sound of mirth,
That bind all children of the earth
In brotherhood; and when the rain
Beats loud upon the window-pane,
And shadows of the firelight fall
Across the floor and on the wall,
And all without is wild and lone
On lands and seas and worlds unknown,—
We know that countless hearthlights burn
In darkened places, and discern,
Inwoven with the troubled plan
Of worlds and ways unknown to man,
The shelter at the heart of life,
The refuge beyond doubt and strife,
The rest for every soul outcast,
The homely hidden in the vast;
And doubt not that whatever fate
May lie beyond us, soon or late,
However far afield we roam,
The unknown way will lead us home.
THE END