RSS Feed Reader using Ajax and PHP Part 2

Written By: Jay

- 01 Aug 2006 -
















Description: This HOWTO will explain how to extend Building an Ajax & PHP RSS Reader using AjaxAgent Part 1 to include No-Refresh/No-Post-Back Form operations, database interaction as well as auto-complete functions that demonstrate some advanced Ajax/PHP operations. The end result will be an RSS Feed Reader that contains the typical Create, Read, Update and Delete database operations but using Ajax to perform these tasks.

On Your Own

There are still 2 items I have not covered and that is Updating and Deleting Feeds from the Database because I want you to do it on your own.

So here are some pointers:

When creating the Update and Delete functions the HTML has already been created so you just need to create the PHP/SQL and the Ajax code.

Ideas on Extending

Include Categories for the Feeds for better organization by adding new table or column for the category name.

Create some visual indicators of the current and post action status. For instance when you click Edit the form gets populated and you change a text label to "Editing URL" or something. And when you click Save or update you could have another message that says "URL Saved".

One thing you should definitely do is move the Add/Edit form to some place safe or make it password protected.

Summary

And that's it. You now have an Ajaxified RSS Feed manager to store and organize all of those cool RSS feeds on the internet.