Posts Tagged fusebox

Fuseboxing progress – Navigation menu

I’ve been working to convert my church’s old site to Fusebox 4 for ColdFusion in order to get cleaner, more modular code and to make maintenance simpler for parish staff.  I started off diagramming a database schema in which the content would be stored.  This got me thinking about just how the site would work when finished.  I then dropped the core FB4 files into my local webroot and started working.

With a schema in place, I was able to determine the necessary circuit.

  • home – this is the default circuit
  • sections – drives the navigation menu
  • pages – handles page content
  • news – drives the news module
  • links – drives the links module
  • contacts – drives the parish contacts module
Current static navigation menu

Current static navigation menu

I began with the sections circuit and began coding fuseactions. The sections circuit will be the foundation for the navigation menu.  Each section corresponds to a link in the navigation.  I added a ‘parent’ to facilitate subsections which will appear as flyouts.  I then began writing the sections CFC which will access the data.  The section CFC contains your basic CRUD methods and one special method to handle subsections.   Right now, since there is only test data in the DB, the menu isn’t fully populated with subsections.  I should note, that I first considered using the built in ColdFusion 8 <cfmenu> and <cfmenuitem> tags to generate the menu.  I actually built the menu, but then decide to go back to the CSS/JavaScript that is used in the current site.  All I had to do was invoke the section CFC to display the section data as links in the navigation menu.

Dynamically generated fusebox navigation

Dynamically generated fusebox navigation

Using the Frameworks explorer in CFEclipse, it was really easy to create circuit files and their corresponding fuseactions.

Add comment July 24, 2009

From Contribute to a Custom CMS

I relaunched my parish’s web site 3 years ago using ColdFusion 6 and let staff maintain the site using Contribute.  This was no problem at the time as the site was small and had a fairly small audience.  Contribute was a quick and easy solution for the 2 parish staff to make updates to the site and it has worked well these 3 years.  I was still a novice programmer and had not come to realize the power of CFCs or even any of the many CF frameworks out there.

Current site

Current site

The time has come, however, for a serious site overhaul for a few reasons.

  1. The staff has grown tired of Contribute because it ties them to a single machine for updating the site.
  2. Site usage has increased tremendously
  3. The site has become cluttered with old, outdated content that in most cases is no longer needed
  4. Our host was not very reliable.

I first focused on open source blog and CMS software for our solution.  The CMS packages generally fit into two categories:

  1. Far too complicated
  2. Small feature set even for our fairly basic needs

After lots of trial and error, I decided to build my own custom CMS.  I use Fusebox 4 in my daily work, so this was a logical choice.  The front-end code can be organized and easily maintainable.  Content will be stored in a database, likely MySQL or SQL Server, and an administrative module will be used for content maintenance.  I’m going to use Flex 3 to build the admin module, which will allow staff to add, edit, and delete content from any machine with Internet access.

I’ll periodically update with my progress.

Add comment July 24, 2009

My life as a CF developer

I am currently employed as web application developer at the Academy for Educational Develoment(AED) in Washington, DC. AED uses Fusebox 4.1 for its ColdFusion development. I was familiar with Fusebox, having toyed with it a few years ago back in Fusebox 3, so I wasn’t coming in totally cold, but pretty close. During my first week, I did a lot of reading due to the fact that my laptop had not arrived; I was hired right after the holidays and things moved much faster than their normal hiring process with the exception of the equipment.

Continue Reading Add comment June 20, 2008


 

November 2009
M T W T F S S
« Aug    
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

Tags

Adobe ANT basketball CFC CFEclipse CFMX CF Template CFUnit CFUnited code code generation ColdFusion component conference deployment developer Eclipse Emancipation family Firefox freelance fusebox introduction juneteenth Marc Esher method mylyn networking Olympics Peter Bell programming Selenium IDE slavery software quality assurance Sotftware testing sports Team USA TeraTech test testing unit testing user community web Web Application Development web development

Blogroll

ColdFusion

open source