Home arrow Flash arrow Page 2 - Building the Back End of a Content Management System for Flash
FLASH

Building the Back End of a Content Management System for Flash


When I decided to create a simple CMS for Flash solution to a problem that I was confronted with, it occurred to me that maybe I wasn’t the only one who had encountered it. It prompted me to write an article series about it and share it with you.

Author Info:
By: Jennifer Sullivan Cassidy
Rating: 4 stars4 stars4 stars4 stars4 stars / 20
August 02, 2006
TABLE OF CONTENTS:
  1. · Building the Back End of a Content Management System for Flash
  2. · The Back End Elements
  3. · 2. The PHP Code
  4. · Gluing it All Together

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

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.


blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- 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

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 4 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials