Flash
  Home arrow Flash arrow Page 2 - Building the Back End of a Content Managem...
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  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
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? 
FLASH

Building the Back End of a Content Management System for Flash
By: Jennifer Sullivan Cassidy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 18
    2006-08-02

    Table of Contents:
  • Building the Back End of a Content Management System for Flash
  • The Back End Elements
  • 2. The PHP Code
  • Gluing it All Together

  • 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
     
     
    ADVERTISEMENT


    Building the Back End of a Content Management System for Flash - The Back End Elements


    (Page 2 of 4 )

    1.  The HTML Form

    We first need to create a form in HTML so that our client can simply enter the content they wish to change and hit submit without having to get into the database or the Flash source file.  Okay, sounds easy enough, right?

    I do not intend to explain the HTML form, due to a lack of time and mainly because I felt that if you are not familiar with HTML, you may not really be able to comprehend the next part of this tutorial.  So I will have to assume that you, as the reader, have an understanding of HTML, and HTML forms specifically.  The simple form code is shown below, devoid of any formatting.  It is a basic form, with a heading label, a text area 40 columns wide by 10 rows high, two buttons (submit and reset), and the form action with the "post" method:

    <form action="backend.php" method="post" name="input">  
       <label>Content:</label><br>
         <textarea name="content1_txt" cols="40" rows="10">
         </textarea><br>
           <input type="submit" name="submit" value="Submit">
           <input type="reset" name="reset" value="Reset">
    </form>

    What it looks like:

    In order to simplify our content management system, we will later place our HTML form directly into our PHP script, but we'll wait to do that when we put it all together. In practical use, I'd probably change the syntax to be XHTML compliant, and possibly add basic formatting, like tables or a cascading style sheet, or even image mapping for that particularly illiterate client.  In your own tinkering, you will of course want to add your own formatting.  But for the sake of argument, we'll  concentrate on each individual element in its most basic form for now.

    More Flash Articles
    More By Jennifer Sullivan Cassidy


       · Did you find this article helpful or useful? I certainly hope that you are able to...
       · This article was exactly what I was looking for! However, I think that a third...
       · This was a great tutorial for the basics, however it did not work for me. I got a...
       · This was exactly what i needed for a site i was working on!!!
       · First of all, thank for this tutorial, it's just hwat i needed! Stil dealing with 2...
       · how can I implement this using an XML file. the thing is i have this dynamic news...
     

    FLASH ARTICLES

    - Critical Flash Vulnerability Heats Up the Web
    - More on Nonpersistent Client-Side Remote Sha...
    - Nonpersistent Client-Side Remote Shared Obje...
    - Using the Decorator Pattern for a Real Web S...
    - Using Concrete Decorator Classes
    - Delving More Deeply into the Decorator Patte...
    - The Decorator Pattern in Action
    - A Simple Decorator Pattern Example
    - Decorator Pattern
    - Organizing Frames and Layers for Flash Anima...
    - Organizing Frames and Layers
    - Using XML and ActionScript with Flex Applica...
    - Interfaces and Events with ActionScript and ...
    - Manipulating Data with ActionScript in Flex ...
    - ActionScript Syntax for Flex Applications







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek