WordPress Web Application Development - Second Edition
eBook - ePub

WordPress Web Application Development - Second Edition

Rakhitha Nimesh Ratnayake

Partager le livre
  1. 404 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

WordPress Web Application Development - Second Edition

Rakhitha Nimesh Ratnayake

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que WordPress Web Application Development - Second Edition est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  WordPress Web Application Development - Second Edition par Rakhitha Nimesh Ratnayake en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatik et Webprogrammierung. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781782174394

WordPress Web Application Development Second Edition


Table of Contents

WordPress Web Application Development Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. WordPress as a Web Application Framework
WordPress as a CMS
WordPress as a web application framework
The MVC versus event-driven architecture
Simplifying development with built-in features
User management
Media management
Template management
Database management
Routing
XMR-RPC API
Caching
Scheduling
Plugins and widgets
Themes
Actions and filters
The admin dashboard
Identifying the components of WordPress
The role of WordPress themes
Structure of a WordPress page layout
Customizing the application layout
The role of the admin dashboard
The admin dashboard
Posts and pages
Users
Appearance
Settings
The role of plugins
The role of widgets
A development plan for the portfolio management application
Application goals and target audience
Planning the application
User roles of the application
Planning application features and functions
Understanding limitations and sticking to guidelines
Building a question-answer interface
Prerequisites for building a question-answer interface
Creating questions
Customizing the comments template
Changing the status of answers
Saving the status of answers
Generating a question list
Enhancing features of the questions plugin
Customizing the design of questions
Categorizing questions
Approving and rejecting questions
Adding star rating to answers
Summary
2. Implementing Membership Roles, Permissions, and Features
Introduction to user management
Preparing the plugin
Getting started with user roles
Creating application user roles
The best action for adding user roles
Knowing the default roles of WordPress
Choosing among default and custom roles
Scenario 1
Scenario 2
Removing existing user roles
Understanding user capabilities
Creating your first capability
Understanding default capabilities
Registering application users
Implementing frontend registration
Shortcode implementation
Pros and cons of using shortcodes
Page template implementation
Pros and cons of page templates
Custom template implementation
Building a simple router for a user module
Creating the routing rules
Adding query variables
Flushing the rewriting rules
Controlling access to your functions
The advantages of using the do_action function
Creating custom templates
Designing the registration form
Planning the registration process
Handling registration form submission
Exploring the registration success path
Automatically log in the user after registration
Activating system users
Creating a login form in the frontend
Displaying the login form
Checking whether we implemented the process properly
Time to practice
Summary
3. Planning and Customizing the Core Database
Understanding the WordPress database
Exploring the role of existing tables
User-related tables
Post-related tables
Term-related tables
Other tables
Adapting existing tables into web applications
User-related tables
Post-related tables
Scenario 1 – An online shopping cart
Scenario 2 – A hotel reservation system
Scenario 3 – The project management application
Term-related tables
Other tables
Extending the database with custom tables
Planning the portfolio application tables
Types of tables in web applications
Creating custom tables
Querying the database
Querying the existing tables
Inserting records
Updating records
Deleting records
Selecting records
Querying the custom tables
Working with posts
Extending the WP_Query class for applications
Introduction to WordPress query classes
The WP_User_Query class
The WP_Comment_Query class
Other query classes
Limitations and considerations
Transaction support
Post revisions
How to know whether to enable or disable revisions?
Auto saving
Using meta tables
Summary
4. Building Blocks of Web Applications
Introduction to custom content types
The role of custom post types in web applications
Planning custom post types for application
Projects
Services
Articles
Books
Implementing custom post types for a portfolio application
Implementing the custom post type settings
Creating the project class
Assigning permissions to projects
Creating custom taxonomies for technologies and project types
Assigning permissions to the project type
Introduction to custom fields with meta boxes
What is a template engine?
Building a simple custom template loader
Creating your first template
Comparing the template loader and template engine
Persisting custom field data
Customizing custom post type messages
Introducing custom post type relationships
Pods framework for custom content types
Should you choose Pods for web development?
Time to practice
Summary
5. Developing Pluggable Modules
A brief introduction to WordPress plugins
Understanding the WordPress plugin architecture
WordPress plugins for web development
Creating reusable libraries with plugins
Planning the template loader plugin
Using the template loader plugin
Handling plugin dependencies
Extensible plugins
Extend plugins with WordPress core actions and filters
Planning a file uploader for portfolio application
Creating the extensible file uploader plugin
Converting file fields with jQuery
Integrating the media uploader to buttons
Extending the file uploader plugin
Customize the allowed types of images
Saving and loading project screens
Extend plugins with custom actions and filters
Pluggable plugins
Tips for using pluggable functions
Time to practice
Summary
6. Customizing the Dashboard for Powerful Backends
Understanding the admin dashboard
Customizing the admin toolbar
Removing the admin toolbar
Managing the admin toolbar items
Customizing the main navigation menu
Creating new menu items
Adding features with custom pages
Building options pages
Creating a custom layout for options pages
Building an application options panel
Using the WordPress options API
Using feature-packed admin list tables
Working with default admin list tables
The post list
Creating custom actions for custom posts
Creating custom filters for custom post types
Creating custom post status links
Displaying custom list columns
The user list
The comments list
Building extended lists
Using the admin list table for the following developers
Step 1 – defining the custom class
Step 2 – defining the instance variables
Step 3 – creating the initial configurations
Step 4 – implementing the custom column handlers
Step 5 – implementing the column default handlers
Step 6 – displaying the checkbox for records
Step 7 – listing the available custom columns
Step 8 – defining the sortable columns of list
Step 9 – creating a list of bulk actions
Step 10 – retrieving list data
Step 11 – adding a custom list as a menu page
Step 12 – displaying the generated list
An awesome visual presentation for admin screens
Using existing themes
Using plugin-based third-party admin themes
Creating your own admin theme
The responsive nature of the admin dashboard
Time for action
Summary
7. Adjusting Theme for Amazing Frontends
An introduction to the WordPress application frontend
A basic file structure of the WordPress theme
Understanding the template execution hierarchy
The template execution process of web application frameworks
Web application layout creation techniques
Shortcodes and page templates
Custom templates with custom routi...

Table des matiĂšres