SunQuest
 
       JavaScript
  Home arrow JavaScript arrow Handling Contents with MySQL for a Content...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Handling Contents with MySQL for a Content Management System Built with Prototype
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2007-04-30

    Table of Contents:
  • Handling Contents with MySQL for a Content Management System Built with Prototype
  • The full client-side code of the CMS application
  • Inserting, updating and deleting articles
  • Assembling the modules of the application

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
    Iron Speed
     
    ADVERTISEMENT

    Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!

    Handling Contents with MySQL for a Content Management System Built with Prototype


    (Page 1 of 4 )

    If you've been working with the popular Prototype JavaScript framework for a while, then you know about its remarkable capabilities for facilitating the development of diverse AJAX-based applications. This article, the last part of a three-part series, teaches you how to build a content management system by taking advantage of the neat features that come bundled with this software package.

    Introduction

    If you're an AJAX enthusiast and read the preceding article of the series, then you'll recall that I defined all the JavaScript functions required to complete the behavioral layer of the application. In layman's terms, the functionality provided by this CMS is based upon its capacity for adding new publishable articles to the system, in addition to editing and deleting these articles with extreme ease.

    As you can see, even when this content management application has been tuned to handle article-related data, it's fair to say that in can be quickly adapted to work with contents of a different nature, which illustrates the flexibility offered by the system.

    Now, paying attention specifically to the development of this CMS application, it's necessary to complete the system by creating at least a basic server-side module. This module must be capable of processing all the commands sent by an user to connect to MySQL and insert, update or delete the contents of a specific article.

    This time I'm going to use PHP 5 to perform the aforementioned tasks, but logically you can use the server-side scripting language of your choice to interact with the web server and eventually work with a different database system.

    All right, having generally outlined the subject of this last installment of the series, let's learn together how to build the server-side component of this Prototype-based content management system. Let's get started now!

    More JavaScript Articles
    More By Alejandro Gervasio


       · Over this last article of the series, the set of PHP classes, aimed at interacting...
     

    JAVASCRIPT ARTICLES

    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables
    - Assigning Background Colors Dynamically to Z...
    - Building Zebra Tables with CSS and JavaScript
    - JavaScript: Array Objects
    - A Closer Look at Smart Markers with Yahoo! M...
    - Using Polylines and Smart Markers with Yahoo...
    - Bulleted Menu of Links
    - Creating Click Loggers and Basic Markers wit...
    - Adding Pan Controls to Yahoo! Maps
    - Adding Zoom Controls to Yahoo! Maps
    - Working with Yahoo! Maps
    - Building Image Zooming Controls with the DOM...
    - Working with Multiple Graphics for a Zoom Ap...

    Iron Speed

    Iron Speed





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway