Brian Messenlehner & Jason Coleman
Chapter 1 defines what we mean by “web app” and also covers why or why not to use WordPress for building web apps and how to compare WordPress to other application frameworks. We also introduce SchoolPress, the WordPress app that we use as an example throughout the book.
Chapter 2 covers the basics of WordPress. We go over the various directories of the core WordPress install and what goes where. We also explain each database table created by WordPress, what data each holds, and which WordPress functions map to those tables.
Even experienced WordPress developers can learn something from this chapter and are encouraged to read it.
Chapter 3 is all about plugins. What are they? How do you make your own plugins?
How should you structure your app’s main plugin? When should you leverage third party plugins or roll your own?
Chapter 4 is all about themes. How do themes work? How do themes map to views in a typical model-view-controller (MVC) framework? What code should go into your theme, and what code should go into plugins? We also cover using theme frameworks and UI frameworks and the basics of responsive design.
Chapter 5 covers custom post types and taxonomies. We go over the default post types built into WordPress, why you might need to build your own, and then how to go about doing that. We also cover post meta and taxonomies, what each is appropriate for, and how to build custom taxonomies and map them to your post types. Finally, we show how to build wrapper classes for your post types to organize your code utilizing object-oriented programming (OOP).
Chapter 6 covers users, roles, and capabilities. We show how to add, update, and delete users programmatically, and how to work with user meta, roles, and capabilities. We also show how to extend the WP_User class for your user archetypes like “customers” and “teachers” to better organize your code using OOP techniques.
Chapter 7 covers a few of the more useful WordPress APIs and helper functions that didn’t fit into the rest of the book but are still important for developers building web apps with WordPress.
Chapter 8 is all about securing your WordPress apps, plugins, and themes.
Chapter 9 covers using JavaScript and AJAX in your WordPress application. We go over the correct way to enqueue JavaScript into WordPress and how to build asynchronous behaviors in your app.
Chapter 10 covers the XML-RPC API for WordPress and how to use it to integrate WordPress with outside apps.
Chapter 11 covers how to use WordPress to power native apps on mobile devices by creating app wrappers for iOS and Android.
Chapter 12 covers some third-party PHP libraries, services, and APIs that are often used in web apps and how to integrate them with WordPress.
Chapter 13 covers WordPress multisite networks, including how to set them up and things to keep in mind when developing for multisite.
Chapter 14 covers localizing your WordPress plugins and themes, including how to prep your code for translation and how to create and use translation files.
Chapter 15 covers ecommerce. We go over the various types of ecommerce plugins available and how to choose between them. We then go into detail on how to use Word‐Press to handle payments and account management for software as a service (SaaS) web apps.
Chapter 16 covers how to optimize and scale WordPress for high-volume web apps. We go over how to test the performance of your WordPress app and the most popular techniques for speeding up and scaling sites running WordPress.
No comments:
Post a Comment