I just want to start by saying this is not going to a be a “bash” series on Rails vs Django but rather real examples of how applications can be built with both frameworks. With each application I will do a write up on design concepts, story boarding, development and then deployment. I do all my development with the NetBeans 6.5 IDE with plugins that are currently available for both Ruby and Python development.
Along with developing the applications in the standard HTML, CSS, and JavaScript (with Ajax) technologies I will also be developing interfaces with Adobe Flex 3/AS3. The purpose? To show how Flex interfaces can spice up some of the more mundane interaces and make the user experience a little more exciting. Plus if the user interface is built completely with Flex then it can be also be deployed as a desktop application using Adobe AIR.
So lets first dive in with an application we have all grown to love with the 15 to 20 min examples, a web blog. But lets take a little different approach to this by doing some reverse engineering on an existing blog application called Wordpress. Why you might ask? Because in my opinion Wordpress is one of the better engineered applications which is readily available for anyone to download and deploy on their own personal web server instance. Wordpress is very solid and what I would like to do is just review the basics of the application and explain some of the purposes behind some of the architecture of the app. Then once we are done we can move forward with developing our own version of the application using both Python and Ruby with the Administrator being built in Adobe Flex. Sound fun? Well it does to me.
In my next article I will be doing a review of Wordpress and some of the principles behind the data structure (models) as well as services that will need to be provided in creating our own version of Wordpress.
See you next time!
Tags: Django, Flex, Netbeans, Python, Ruby On Rails, WordPress
Found a little bug in the wp-codebox plugin for WordPress for the display of CFML code. The fix was for the end greater-than bracket for the <cfformgroup> tag showing up as ‘>’ instead of the bracket in the code display. I have included the file name and fix below:
/wordpress/wp-content/plugins/wp-codebox/geshi/cfm.php
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | 'KEYWORDS' => array( /* CFM Tags */ 1 => array( '<cfabort', '<cfapplet', '<cfapplication', '<cfargument', '<cfassociate', '<<cfbreak>', '<cfcache', '<cfcase', '<cfcatch', '</cfcatch>', '<cfchart', '</cfchart>', '<cfchartdata', '<cfchartseries', '</cfchartseries>', '<cfcol', '<cfcollection', '<cfcomponent', '</cfcomponent>', '<cfcontent', '<cfcookie', '</cfdefaultcase>', '<cfdirectory', '<cfdocument', '</cfdocument>', '<cfdocumentitem', '</cfdocumentitem>', '<cfdocumentsection', '</cfdocumentsection>', '<cfdump', '<cfelse', '<cfelseif', '<cferror', '<cfexecute', '</cfexecute>', '<cfexit', '<cffile', '<cfflush', '<cfform', '</cfform>', '<cfformgroup', '</cfformgroup>', '<cfformitem', '</cfformitem>', '<cfftp', '<cffunction', '</cffunction>', '<cfgrid', '</cfgrid>', '<cfgridcolumn', '<cfgridrow', '<cfgridupdate', '<cfheader', '<cfhtmlhead', '<cfhttp', '</cfhttp>', '<cfhttpparam', '<cfif', '</cfif>', '<cfimport', '<cfinclude', '<cfindex', '<cfinput', '<cfinsert', '<cfinvoke', '<cfinvokeargument', '<cfldap', '<cflocation', '<cflock', '</cflock>', '<cflog', '<cflogin', '</cflogin>', '<cfloginuser', '<cflogout', '<cfloop', '</cfloop>', '<cfmail', '</cfmail>', '<cfmailparam', '<cfmailpart', '</cfmailpart>', '<cfmodule', '<cfNTauthenticate', '<cfobject', '<cfobjectcache', '<cfoutput>', '<cfoutput', '</cfoutput>', '<cfparam', '<cfpop', '<cfprocessingdirective', '</cfprocessingdirective>', '<cfprocparam', '<cfprocresult', '<cfproperty', '<cfquery', '</cfquery>', '<cfqueryparam', '<cfregistry', '</cfregistry>', '<cfreport', '</cfreport>', '<cfreportparam', '</cfreportparam>', '<cfrethrow', '<cfreturn', '<cfsavecontent', '</cfsavecontent>', '<cfschedule', '<cfscript', '<cfscript>', '</cfscript>', '<cfsearch', '<cfselect', '</cfselect>', '<cfset', '<cfsetting', '<cfsilent', '</cfsilent>', '<cfstoredproc', '</cfstoredproc>', '<cfswitch', '</cfswitch>', '<cftable', '</cftable>', '<cftextarea', '</cftextarea>', '<cfthrow', '<cftimer', '</cftimer>', '<cftrace', '</cftrace>', '<cftransaction', '</cftransaction>', '<cftree', '</cftree>', '<cftreeitem', '<cftry', '</cftry>', '<cfupdate', '<cfwddx','<','>' ), |
There might be other bugs in the geshi files, as I find them I will post the code on this blog.
My version of WordPress that I am using is 2.5.1