Book Image

WordPress Web Application Development

By : Rakhitha Nimesh Ratnayake
Book Image

WordPress Web Application Development

By: Rakhitha Nimesh Ratnayake

Overview of this book

Table of Contents (19 chapters)
WordPress Web Application Development Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Working with a restructured application


Having completed the restructuring process, we now have to understand the process of creating new functionalities from scratch. So, in this section, we will build the developer list page with autocomplete search using AJAX. Let's get started with the requirements planning!

There can be many lists within the portfolio management application. So, we need a new rewrite rule for implementing list-based pages. Then, we need a separate template for displaying the data for a developers list. All the existing developers will be displayed in the initial page load. Then, users can use the autocomplete textbox to search the developers. The list will be updated on the jQuery keyup event of the textbox to filter the list of developers using the search string.

We have to start the process by adding a new rewriting rule to WordPress. Remember that we created all the rewriting rules inside the manage_user_routes function of the WPWA_Portfolio_Manager class. So, let...