<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>OscarArevalo.com - Coldfusion</title>
			<link>http://www.oscararevalo.com/index.cfm</link>
			<description>About ColdFusion and Developing Software</description>
			<language>en-us</language>
			<pubDate>Tue, 07 Sep 2010 17:14:58 -0500</pubDate>
			<lastBuildDate>Thu, 15 Apr 2010 18:46:00 -0500</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>oarevalo@gmail.com</managingEditor>
			<webMaster>oarevalo@gmail.com</webMaster>
			
			<item>
				<title>Version 3.1.570 Released</title>
				<link>http://www.oscararevalo.com/index.cfm/2010/4/15/Version-31570-Released</link>
				<description>
				
				The new update for HomePortals is now released. The current version is 3.1.570; This is a roll up of all the latest bug fixes since the last release. If you use the nightly build then you will not notice any difference right now. 

The full post about what is new/fixed on this release is here: 

&lt;a href=&quot;http://www.homeportals.net/blog/index.cfm/2010/4/15/Version-31570-Released&quot;&gt;http://www.homeportals.net/blog/index.cfm/2010/4/15/Version-31570-Released&lt;/a&gt;

All comments are welcome! 
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>frameworks</category>				
				
				<pubDate>Thu, 15 Apr 2010 18:46:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2010/4/15/Version-31570-Released</guid>
				
			</item>
			
			<item>
				<title>Introducing the New HomePortals CMS Plugin</title>
				<link>http://www.oscararevalo.com/index.cfm/2010/3/1/Introducing-the-New-HomePortals-CMS-Plugin</link>
				<description>
				
				A few days ago I released the &lt;a href=&quot;http://www.oscararevalo.com/index.cfm/2010/2/24/Available-Update-for-HomePortals-and-ColdBricks&quot;&gt;latest update&lt;/a&gt; to the &lt;a href=&quot;http://www.homeportals.net&quot;&gt;HomePortals framework&lt;/a&gt; and its counterpart management platform &lt;a href=&quot;http://www.coldbricks.com&quot;&gt;ColdBricks&lt;/a&gt;. Besides the obligatory bug fixes and improvements, there was one new major feature on this release: the CMS Plugin. The CMS Plugin is a HomePortals extension to provide content management and site administration features to any HomePortals-based application without requiring the use of an external application (like ColdBricks) or building your own administration features.  [More]
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>ColdBricks</category>				
				
				<pubDate>Mon, 01 Mar 2010 00:09:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2010/3/1/Introducing-the-New-HomePortals-CMS-Plugin</guid>
				
			</item>
			
			<item>
				<title>Available Update for HomePortals and ColdBricks</title>
				<link>http://www.oscararevalo.com/index.cfm/2010/2/24/Available-Update-for-HomePortals-and-ColdBricks</link>
				<description>
				
				I just pushed new updated versions of &lt;a href=&quot;http://www.homeportals.net&quot;&gt;HomePortals&lt;/a&gt; and &lt;a href=&quot;http://www.coldbricks.com&quot;&gt;ColdBricks&lt;/a&gt; to their respective sites and are now available for download. As usual the updates contain multiple bug fixes and small improvements here and there. However there are a couple of features that are worth mentioning.  [More]
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>ColdBricks</category>				
				
				<category>frameworks</category>				
				
				<pubDate>Wed, 24 Feb 2010 17:35:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2010/2/24/Available-Update-for-HomePortals-and-ColdBricks</guid>
				
			</item>
			
			<item>
				<title>Update to &apos;Core&apos; Framework. Now in GitHub!</title>
				<link>http://www.oscararevalo.com/index.cfm/2010/2/10/Update-to-Core-Framework-Now-in-GitHub</link>
				<description>
				
				A while ago I shared a small &lt;a href=&quot;http://www.oscararevalo.com/index.cfm/2008/7/29/A-Peek-Inside-the-Software-Factory-Core-Framework&quot;&gt;framework&lt;/a&gt; I created which I use to develop pretty much all of my projects (both open source and paid engagements). The framework, as is usual for web frameworks, follows the MVC and Front Controller patterns; also like Sean Corfield&apos;s &lt;a href=&quot;http://fw1.riaforge.org/&quot;&gt;FW/1&lt;/a&gt; and Barney&apos;s &lt;a href=&quot;http://www.barneyb.com/barneyblog/projects/fb3lite/&quot;&gt;FB3 Lite&lt;/a&gt; (and many others) it has an emphasis on minimalism and makes an effort to stay out of the way as much as possible. I recently made some changes to the framework and wanted to share them with the community.  [More]
				</description>
				
				<category>Architecture</category>				
				
				<category>Core</category>				
				
				<category>Coldfusion</category>				
				
				<category>frameworks</category>				
				
				<pubDate>Wed, 10 Feb 2010 03:31:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2010/2/10/Update-to-Core-Framework-Now-in-GitHub</guid>
				
			</item>
			
			<item>
				<title>Model-Glue / HomePortals Sample Application</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/11/17/ModelGlue--HomePortals-Sample-Application</link>
				<description>
				
				A few weeks ago I &lt;a href=&quot;http://www.oscararevalo.com/index.cfm/2009/10/30/HomePortalsColdBox-Integration-Revisited&quot;&gt;wrote&lt;/a&gt; about how to use the layout management features of HomePortals on a ColdBox 3 application. This time I want to show how to do the same but with an application built with the &lt;a href=&quot;http://www.model-glue.com/coldfusion.cfm&quot;&gt;Model-Glue framework&lt;/a&gt; and also explain a bit more of why would you want to do so in the first place.  [More]
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>frameworks</category>				
				
				<category>Model-Glue</category>				
				
				<pubDate>Tue, 17 Nov 2009 18:10:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/11/17/ModelGlue--HomePortals-Sample-Application</guid>
				
			</item>
			
			<item>
				<title>ColdBricks 1.1 Update: Custom Resource Libraries &amp; Extension Modules</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/10/27/ColdBricks-11-Update-Custom-Resource-Libraries--Extension-Modules</link>
				<description>
				
				A new update to &lt;a href=&quot;http://www.coldbricks.com/&quot;&gt;ColdBricks CMS&lt;/a&gt; is now available for everyone to download and play. This is still part of the greater 1.1 release but it adds some new interesting features that I thought would be interesting to blog about. Besides the obligatory bug fixes/performance enhancements, the two most prominent features are Custom Resource Libraries and the completion of a full modular architecture, including the option to install/uninstall modules directly by the end user.  [More]
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>ColdBricks</category>				
				
				<pubDate>Tue, 27 Oct 2009 17:57:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/10/27/ColdBricks-11-Update-Custom-Resource-Libraries--Extension-Modules</guid>
				
			</item>
			
			<item>
				<title>CFShell 0.2: Even More CLI Goodness for CFML Servers</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/10/9/CFShell-02-Even-More-CLI-Goodness-for-CFML-Servers</link>
				<description>
				
				Today I uploaded to RIAForge an update to &lt;a href=&quot;http://cfshell.riaforge.org/&quot;&gt;CFShell&lt;/a&gt;. This update focused on making the client behave more like a standard command line tool, and also added a couple of useful commands and shorthand expressions to the shell.  [More]
				</description>
				
				<category>Coldfusion</category>				
				
				<pubDate>Fri, 09 Oct 2009 01:13:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/10/9/CFShell-02-Even-More-CLI-Goodness-for-CFML-Servers</guid>
				
			</item>
			
			<item>
				<title>CFShell: A  command line interface for CFML engines</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/10/7/CFShell-A--command-line-interface-for-CFML-engines</link>
				<description>
				
				Many times when we are working on our ColdFusion apps there are situations in which we want to quickly evaluate something or try some one or two-liner snippets to do something quick. The typical process then is that we have to create a .cfm page, put in on the server, go to the browser and execute it. And that&apos;s pretty much the only way we have for interacting with the CFML engine. This contrasts with other languages like Ruby, Python, or even PHP in which you can quickly interact with the language directly from a command line or terminal window. Wouldn&apos;t it be nicer to have the inmmediate satisfaction of evaluating our CFML/cfscript statements interactively? Well, that&apos;s where &lt;a href=&quot;http://cfshell.riaforge.org/&quot;&gt;CFShell&lt;/a&gt; comes in.  [More]
				</description>
				
				<category>Coldfusion</category>				
				
				<category>General</category>				
				
				<pubDate>Wed, 07 Oct 2009 17:21:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/10/7/CFShell-A--command-line-interface-for-CFML-engines</guid>
				
			</item>
			
			<item>
				<title>Launched 2 New Homeportals/ColdBricks powered Websites</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/10/1/Launched-2-New-HomeportalsColdBricks-powered-Websites</link>
				<description>
				
				I wanted to quickly share that two new ColdFusion websites have been launched recently: &lt;a href=&quot;http://www.msdynamicswire.com&quot;&gt;MSDynamicsWire.com&lt;/a&gt; (a news portal) and &lt;a href=&quot;http://www.meancycles.com/owners&quot;&gt;Meancycles Owners Galleries&lt;/a&gt; (a social network). Both sites were developed using &lt;a href=&quot;http://www.homeportals.net&quot;&gt;HomePortals&lt;/a&gt; and &lt;a href=&quot;http://www.coldbricks.com&quot;&gt;ColdBricksCMS&lt;/a&gt;. 

Both sites show different level of integration and customization, as each serves a very different function, but they are good examples of the wide range of solutions that can be obtained by combining the HomePortals framework with the ColdBricksCMS platform.  [More]
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>ColdBricks</category>				
				
				<category>frameworks</category>				
				
				<pubDate>Thu, 01 Oct 2009 01:59:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/10/1/Launched-2-New-HomeportalsColdBricks-powered-Websites</guid>
				
			</item>
			
			<item>
				<title>Creating Your Own Alert Rules For BugLogHQ</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/9/25/Creating-Your-Own-Alert-Rules-For-BugLogHQ</link>
				<description>
				
				One very useful feature of &lt;a href=&quot;http://www.bugloghq.com&quot;&gt;BugLogHQ&lt;/a&gt; is the &apos;Rules&apos; feature. These are basically rules or conditions that get evaluated every time a bug report is processed and can be used to provide custom behaviour. Rules may be used for things like alerting you when some special condition happens; For example you can create a rule that will send you an email as soon as you receive a bug report with the words &quot;stack overflow&quot; on it, or to possibly send you an SMS message once the amount of errors on the last X minutes is greater than 100 errors, or well, you get the idea.

In this article I want to go over how rules are implemented and give a brief example of how to create your own rules and add them to your BugLogHQ instance.  [More]
				</description>
				
				<category>Coldfusion</category>				
				
				<category>BugLogHQ</category>				
				
				<pubDate>Fri, 25 Sep 2009 19:41:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/9/25/Creating-Your-Own-Alert-Rules-For-BugLogHQ</guid>
				
			</item>
			
			<item>
				<title>BugLogHQ 1.4 is now available</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/9/23/BugLogHQ-14-is-now-available</link>
				<description>
				
				The newest release for BugLogHQ is now available for download at &lt;a href=&quot;http://bugloghq.riaforge.org/&quot;&gt;RIAForge&lt;/a&gt;. This new version has lots of new additions and improvements that will make it even more powerful and easier to use. 

Here are some of the highlights of the new version:

&lt;b&gt;&amp;raquo; Asynchronous processing of bug reports and rules.&lt;/b&gt; I think this is the single most important feature of the release, so I&apos;ll go into a bit of detail here. In the previous versions every time the listener received a bug from another application it had to parse the bug, add one or more records to the database and process any rules that were defined; although this implementation responded very well (even collecting errors for a 30+ server deployment on a &lt;a href=&quot;http://www.sandals.com&quot;&gt;really high traffic website&lt;/a&gt;), it was obvious that this approach was not going to be very scalable, especially if many rules were defined for processing. So, on the new version the receiving and processing of bugs are two independent processes; that way BugLog can receive a bug and return a response to the caller application almost immediately since there is virtually no processing done at that time. It&apos;s responsibility of another process fired at regular intervals to process all bug reports on a queue along with any rules that are defined and this process can now takes its sweet time to do whatever it needs to do without the pressure of having to return a response to the caller application.  [More]
				</description>
				
				<category>Coldfusion</category>				
				
				<category>BugLogHQ</category>				
				
				<pubDate>Wed, 23 Sep 2009 00:47:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/9/23/BugLogHQ-14-is-now-available</guid>
				
			</item>
			
			<item>
				<title>Anyone wants to help test the new ColdBricks CMS?</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/6/24/Anyone-wants-to-help-test-the-new-ColdBricks-CMS</link>
				<description>
				
				I am finally ready to enter the testing/packaging phase for the new version of ColdBricks. ColdBricks, if you don&apos;t know is a CF-based Content Management System (CMS) that is used to build sites on a modular fashion. 

This new version includes some nice features such as:

- Template management (author and manage your own page templates and layouts)
- Module maker (create and customize your own configurable modules/widgets)
- Site monitor (monitor site, cache, and memory status of your sites from within ColdBricks)
- Fully modular and extensible architecture (think &apos;custom plugins&apos;)
- A new and more simpler page management format
- Create your own catalog of resources to use in your site (great complement to the ModuleMaker)
- Completely updated rendering engine (yes, that means HomePortals 3.1)
- And more!

At this moment there is not an official distribution package, but if you want to play around with it (and help me test and/or provide feedback), here are the download links:

&lt;a href=&quot;http://www.coldbricks.com/download.cfm&quot;&gt;ColdBricks 1.1 (Beta)&lt;/a&gt;

Also you will need the new version of HomePortals:
&lt;a href=&quot;http://www.homeportals.net/downloads.cfm&quot;&gt;HomePortals 3.1&lt;/a&gt;

For both of these, just download and unzip on the root folder of your site, and go to http://your_domain/ColdBricks to get started.

Additionally some of the site templates in ColdBricks, like the StartPage and the Blog, require a couple of HomePortals plugins. Here are the links:

&lt;a href=&quot;http://www.homeportals.net/downloads.cfm&quot;&gt;HomePortalsAccounts&lt;/a&gt;

&lt;a href=&quot;http://www.homeportals.net/downloads.cfm&quot;&gt;HomePortalsModules&lt;/a&gt;

Again, just unzip on the root and thats it.

As for requirements, this version has been mostly developed on Railo 3, but was tested on CF 8.0.1. I did all my dev on a Windows machine, so if you test on a *nix or mac, let me know if you run into any upper/lowercase issue.

As always, documentation is still trailing behind (far behind), but i&apos;ll be happy to explain and even write some blog posts to clarify any doubt.

Feedback and bugs are **really** appreciated.

Cheers!

*** UPDATE: I updated the download links to point to the general downloads page for each project, rather than a specific release. From each download page, you may download the &quot;Beta&quot; version for each project. 
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>ColdBricks</category>				
				
				<pubDate>Wed, 24 Jun 2009 15:26:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/6/24/Anyone-wants-to-help-test-the-new-ColdBricks-CMS</guid>
				
			</item>
			
			<item>
				<title>So, How about a templating engine for BlogCFC?</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/5/8/So-How-about-a-templating-engine-for-BlogCFC</link>
				<description>
				
				Recently I finished overhauling the way &lt;a href=&quot;http://www.homeportals.net&quot;&gt;HomePortals&lt;/a&gt; 3.1 handles page templates and wanted to find a real-life (and useful) way in which I could demonstrate its new features. So, in this post I want to show how the templating features in the new HomePortals version can be leveraged to provide layout management capabilities on top of an existing application like &lt;a href=&quot;http://blogcfc.riaforge.org/&quot;&gt;BlogCFC&lt;/a&gt;. Why BlogCFC? well, first because it has a great segmentation between the blogging engine (the actual blog.cfc) and its presentation layer, and second because I already use it on my own blog and have plenty of real-life data to play with.  [More]
				</description>
				
				<category>Homeportals</category>				
				
				<category>Coldfusion</category>				
				
				<category>frameworks</category>				
				
				<pubDate>Fri, 08 May 2009 02:40:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/5/8/So-How-about-a-templating-engine-for-BlogCFC</guid>
				
				<enclosure url="http://www.oscararevalo.com/enclosures/keepItSimple.zip" length="48460" type="application/x-zip"/>
				
			</item>
			
			<item>
				<title>Using jQuery.UI.layout to handle HomePortals layouts</title>
				<link>http://www.oscararevalo.com/index.cfm/2009/4/6/Using-jQueryUIlayout-to-handle-HomePortals-layouts</link>
				<description>
				
				&lt;b&gt;** Update: **&lt;/b&gt; Updated code examples and attached file to be compatible with HomePortals 3.1.570

A few days ago I found out (via tweeter) about &lt;a href=&quot;http://layout.jquery-dev.net/&quot;&gt;this plugin&lt;/a&gt; for jQuery. Apparently UI.Layout is a port or adaptation of &lt;a href=&quot;http://extjs.com/deploy/dev/examples/layout/complex.html&quot;&gt;extJS border-layout&lt;/a&gt; but done the jQuery way. Well, this is basically a plugin to create complex full-screen layouts, with resizable panels and everything... really cool stuff. So I started wondering if I could use this to leverage the way HomePortals deals with page layouts and see if I could use hp to declare the page modules/widgets/content but on a layout controlled by the UI.Layout plugin. It turns out in fact that I was able to mix both projects pretty easily. Here&apos;s how.

First of all, lets jump to the end and see what the finished product looks like

&lt;a href=&quot;http://www.oscararevalo.com/images//ui_layout_1.jpg&quot;&gt;&lt;img src=&quot;http://www.oscararevalo.com/images//ui_layout_1.jpg&quot; width=&quot;500&quot; border=&quot;0&quot;&gt;&lt;/a&gt;

And this is the corresponding HomePortals page:

&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;Page&gt;
	&lt;title&gt;Using jquery UI Layout with HomePortals. Example 1&lt;/title&gt;
	&lt;layout&gt;
		&lt;location name=&quot;header1&quot; type=&quot;region&quot; class=&quot;ui-layout-north&quot; /&gt;
		&lt;location name=&quot;column1&quot; type=&quot;region&quot; class=&quot;ui-layout-west&quot;/&gt;
		&lt;location name=&quot;column2&quot; type=&quot;region&quot; class=&quot;ui-layout-center&quot;/&gt;
		&lt;location name=&quot;column3&quot; type=&quot;region&quot; class=&quot;ui-layout-east&quot;/&gt;
		&lt;location name=&quot;footer1&quot; type=&quot;region&quot; class=&quot;ui-layout-south&quot;/&gt;
	&lt;/layout&gt;
	&lt;eventListeners/&gt;
	&lt;body&gt;
		&lt;content id=&quot;c1&quot; href=&quot;../lorem.txt&quot; location=&quot;header1&quot; title=&quot;c1&quot; /&gt;
		&lt;content id=&quot;c2&quot; href=&quot;../lorem.txt&quot; location=&quot;column1&quot; title=&quot;c2&quot; /&gt;
		&lt;view id=&quot;c3&quot; href=&quot;../about.cfm&quot; location=&quot;column2&quot; title=&quot;c3&quot; /&gt;
		&lt;content id=&quot;c4&quot; href=&quot;../lorem.txt&quot; location=&quot;column3&quot; title=&quot;c4&quot; /&gt;
		&lt;content id=&quot;c5&quot; href=&quot;../lorem.txt&quot; location=&quot;footer1&quot; title=&quot;c5&quot; container=&quot;false&quot; /&gt;
	&lt;/body&gt;
&lt;/Page&gt;
&lt;/code&gt;

You can check out a live demo of this page &lt;a href=&quot;http://www.oscararevalo.com/uilayout/ex1/&quot;&gt;here&lt;/a&gt;.

So, did I pick your interest? well, if yes, then keep reading to find out how this was implemented. At the end of this post you can find a zip with the entire example, but let me go over the important bits here.

** Note that this example requires HomePortals 3.1, and will not work in earlier versions. You can get the latest release &lt;a href=&quot;http://www.homeportals.net/downloads.cfm&quot;&gt;here&lt;/a&gt;

First of all, we need to setup a HomePortals application for this example and set the appropriate environment. For the purpose of this example, our HomePortals application will live on a directory named &quot;uilayout&quot;. You can find the complete dir structure and required files on the attached zip file.

For the main settings we will use the standard config xml file.

&lt;b&gt;homePortals-config.xml.cfm&lt;/b&gt;
&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;homePortals&gt;
	&lt;baseResources&gt;
		&lt;resource href=&quot;../includes/jquery.js&quot; type=&quot;script&quot;/&gt;
		&lt;resource href=&quot;../includes/ui.core.js&quot; type=&quot;script&quot;/&gt;
		&lt;resource href=&quot;../includes/ui.draggable.js&quot; type=&quot;script&quot;/&gt;
		&lt;resource href=&quot;../includes/jquery.layout.js&quot; type=&quot;script&quot;/&gt;
		&lt;resource href=&quot;init.js&quot; type=&quot;script&quot;/&gt;
	&lt;/baseResources&gt;
	&lt;renderTemplates&gt;
		&lt;renderTemplate href=&quot;pageTemplate.htm&quot; type=&quot;page&quot; name=&quot;page&quot; /&gt;
	&lt;/renderTemplates&gt;
&lt;/homePortals&gt;
&lt;/code&gt;

Here we declare all the necessary jQuery javascript files. These are ones required by the UI.Layout plugin plus one additional &quot;init.js&quot; to handle our jQuery initialization routine for this page.

&lt;b&gt;init.js&lt;/b&gt;
&lt;code&gt;
$(document).ready(function () {
	$(&apos;body&apos;).layout({ applyDefaultStyles: true });
});
&lt;/code&gt;

The only thing this does is to initialize the layout plugin.

Then finally the final bit of configuration that we need to add is to define a &quot;page&quot; render template. This is because the overall HTML markup needed by the UI.Layout is way much simpler than the default HTML structure that comes out of the box in HomePortals. The &quot;page&quot; render template controls the overall HTML structure that will be used to render all HomePortals pages.

&lt;b&gt;pageTemplate.htm&lt;/b&gt;
&lt;code&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
	&lt;head&gt;
		&lt;title&gt;$PAGE_TITLE$&lt;/title&gt;
		$PAGE_HTMLHEAD$
	&lt;/head&gt;
	&lt;body onLoad=&quot;$PAGE_ONLOAD$&quot;&gt;
		$PAGE_CUSTOMSECTION[&quot;HEADER&quot;]$
		$PAGE_LAYOUTSECTION[&quot;REGION&quot;][&quot;DIV&quot;]$
		$PAGE_CUSTOMSECTION[&quot;FOOTER&quot;]$
	&lt;/body&gt;
&lt;/html&gt;
&lt;/code&gt;

The relevant part here is the &lt;b&gt;$PAGE_LAYOUTSECTION[&quot;REGION&quot;][&quot;DIV&quot;]$&lt;/b&gt; line. This just tells the HomePortals renderer to render all &quot;region&quot; sections one after another and use DIV tags around them. The HEADER and FOOTER custom sections are really not needed and not even used on this example.

The UI.Layout plugin uses CSS class names on DIV elements to determine the type of layout region. There are five types: center, north, south, east and west; each one with its own specific class name. So, since all our layout regions will be rendered the same, we will need only &quot;one&quot; kind of layout region. We will name this a &quot;region&quot;.

So, once that is in place, we can just declare our pages and use the UI.Layout class definitions to create the layout. Like this:

&lt;b&gt;default.xml&lt;/b&gt;
&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;Page&gt;
	&lt;title&gt;Using jquery UI Layout with HomePortals. Example 1&lt;/title&gt;
	&lt;layout&gt;
		&lt;location name=&quot;header1&quot; type=&quot;region&quot; class=&quot;ui-layout-north&quot; /&gt;
		&lt;location name=&quot;column1&quot; type=&quot;region&quot; class=&quot;ui-layout-west&quot;/&gt;
		&lt;location name=&quot;column2&quot; type=&quot;region&quot; class=&quot;ui-layout-center&quot;/&gt;
		&lt;location name=&quot;column3&quot; type=&quot;region&quot; class=&quot;ui-layout-east&quot;/&gt;
		&lt;location name=&quot;footer1&quot; type=&quot;region&quot; class=&quot;ui-layout-south&quot;/&gt;
	&lt;/layout&gt;
	&lt;body&gt;
		&lt;content id=&quot;c1&quot; href=&quot;../lorem.txt&quot; location=&quot;header1&quot; title=&quot;c1&quot; /&gt;
		&lt;content id=&quot;c2&quot; href=&quot;../lorem.txt&quot; location=&quot;column1&quot; title=&quot;c2&quot; /&gt;
		&lt;view id=&quot;c3&quot; href=&quot;../about.cfm&quot; location=&quot;column2&quot; title=&quot;c3&quot; /&gt;
		&lt;content id=&quot;c4&quot; href=&quot;../lorem.txt&quot; location=&quot;column3&quot; title=&quot;c4&quot; /&gt;
		&lt;content id=&quot;c5&quot; href=&quot;../lorem.txt&quot; location=&quot;footer1&quot; title=&quot;c5&quot; container=&quot;false&quot; /&gt;
	&lt;/body&gt;
&lt;/Page&gt;
&lt;/code&gt;

The &lt;b&gt;layout&lt;/b&gt; section is where we declare the page layout using the UI.Layout class names for the different regions. So if we want to customize the layout, say, do not have a footer, or have only one left column, we can change that here easily by just removing the location tags that we don&apos;t need.

The next section &lt;b&gt;body&lt;/b&gt; is where we declare what goes into which layout region. the &lt;b&gt;content&lt;/b&gt; tags just display plain text or html content while the &lt;b&gt;view&lt;/b&gt; tag does a cfinclude of a CFML template. Of course you can now use the whole HomePortals framework features to create your own tags and do whatever you need.

And since jQuery is so awesome, &lt;a href=&quot;http://www.oscararevalo.com/uilayout/ex2/&quot;&gt;here&lt;/a&gt; is another example that uses pretty much the same setup but adds some drag &amp; drop funkyness. 
				</description>
				
				<category>Homeportals</category>				
				
				<category>jQuery</category>				
				
				<category>Coldfusion</category>				
				
				<category>frameworks</category>				
				
				<pubDate>Mon, 06 Apr 2009 18:57:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2009/4/6/Using-jQueryUIlayout-to-handle-HomePortals-layouts</guid>
				
				<enclosure url="http://www.oscararevalo.com/enclosures/uilayout-updated.zip" length="135475" type="application/octet-stream"/>
				
			</item>
			
			<item>
				<title>A Peek Inside the Software Factory: Core Framework</title>
				<link>http://www.oscararevalo.com/index.cfm/2008/7/29/A-Peek-Inside-the-Software-Factory-Core-Framework</link>
				<description>
				
				&lt;b&gt; *** THIS IS A REPOST OF AN EARLIER ARTICLE THAT GOT WIPED OUT ON A RECENT DB CRASH. *** &lt;/b&gt;

If you ever wanted to modify ColdBricks or BugLog, but didn&apos;t understood how these application were constructed; or if you just want to see yet another way of developing CF applications, then this post may be for you.

I just posted &lt;a href=&quot;http://www.oscararevalo.com/page.cfm/core&quot;&gt;some pages&lt;/a&gt; describing the framework I use for developing CF projects. It doesn&apos;t even has a proper name, I just call it &quot;Core&quot; due to its simplicity and its minimalistic nature. The basic principle of this framework, and the reason why I choose to use it instead of going with more traditional offerings, is that it only focuses on one thing and one thing only: provide a formal mechanism for going from one page to another and for invoking actions.

It doesn&apos;t do any fancy things, no complex request lifecycles, no sophisticated caching, no extensive API, none; however, it does provide enough extension points to which I can hook any functionality that I desire on a per-project basis. Basically the framework consists on a Front Controller implementation, a base event handler and a few conventions for directory structure and nomenclature.

Anyway, you can find the code and read more about this framework by going to the &lt;a href=&quot;http://www.oscararevalo.com/projects&quot;&gt;Projects&lt;/a&gt; section or by going directly &lt;a href=&quot;http://www.oscararevalo.com/page.cfm/core&quot;&gt;here&lt;/a&gt;. 
				</description>
				
				<category>Architecture</category>				
				
				<category>Core</category>				
				
				<category>Coldfusion</category>				
				
				<category>ColdBricks</category>				
				
				<category>frameworks</category>				
				
				<category>BugLogHQ</category>				
				
				<category>General</category>				
				
				<pubDate>Tue, 29 Jul 2008 00:11:00 -0500</pubDate>
				<guid>http://www.oscararevalo.com/index.cfm/2008/7/29/A-Peek-Inside-the-Software-Factory-Core-Framework</guid>
				
			</item>
			</channel></rss>