Flash
  Home arrow Flash arrow Page 2 - Building the Front End of a Content Manage...
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 Front 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 / 13
    2006-07-26

    Table of Contents:
  • Building the Front End of a Content Management System for Flash
  • Getting Started
  • Dynamic Text in Flash
  • The ActionScript

  • 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 Front End of a Content Management System for Flash - Getting Started


    (Page 2 of 4 )

    There is an open source Flash website builder, but its backbone is mostly ActionScript, and I honestly had trouble with being able to edit it to my purposes.  Further, it used JavaScript for its back end instead of PHP and HTML. I didn't have time to create a site all over again just to fit it within the site template that comes with the website builder program. One of these days, I will tear apart its core code and try to make sense of it, but I needed a solution yesterday, not next week sometime. So I decided to rely solely upon my Flash design knowledge, and not the development side of it, and just utilize what I already had.

    In this article, the front end will be the Flash website using dynamic text. The next article will discuss the back end, which will be a basic HTML form in which data is entered; the data is then processed through PHP and posted to a flat file database (or a simple text file), which in turn provides the content that the Flash website will display to the website visitor.

    I want to look at this process in two parts.  Part one will deal with Flash and dynamic text. Part two will talk about the HTML form, PHP, and a flat file database; then we will put it all together. The reason I want to discuss Flash and dynamic text first is that it's easier to visualize your process when you can see your end result as you are working. I love working with Flash because I usually get immediate gratification from my work; meaning I can see what I'm doing as I'm doing it. With PHP and HTML, it takes a bit longer to see the end result of your work, as it must be written and developed, then parsed in a browser. This makes sense, as Flash is client side code, and PHP and HTML are server side code. But this is only my sheer personal preference. Ultimately, it doesn't matter how you create it; the simple CMS can be created in these two processes and the two parts are molded together.

    Once I have discussed the overall concept, and given you some code to work with, I am positive that you will come up with something much more sleek and intelligent than what I'm showing you. In fact, I have done just that myself. In that regard, I am merely helping to lay the foundation for you as a Flash designer and developer to give something to your client that will help them immensely, and you greatly later. By the end of this tutorial, you should have a browser-based CMS foundation into which your client can enter their data without ever having to learn HTML or Flash.  Now, let's jump right in.

    What you'll need:

    Macromedia Flash MX 2004 or Flash 8
    A text editor, like Notepad
    A web server with PHP 4.0 or higher installed

    Optional:

    An HTML editor, like DreamWeaver or FrontPage
    The Flash source code (flash_cms.zip) - 3 files, 4.91KB
    The HTML-PHP source code (backend.zip) - 3 files, 1.85KB

    More Flash Articles
    More By Jennifer Sullivan Cassidy


       · Was this article helpful to you? If so, what could you add to make it even more so?...
       · just followed your tutorial (back end, front end combi).And i stumbled across this...
     

    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 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek