CFUnited Developer Conference 2010
Use this code TIPSCUST to get $100 off your registration @ CFUnited! We'll see you There!

CFZen Framework (Pre-Alpha Release)

CFZen Framework here currently.
https://sites.google.com/site/cfzenframeworkproject/home

CFZen Framework  Download at
http://code.google.com/p/cfzen/

CFZen Framework on RiaForge
http://cfzen.riaforge.org/

 This is a very simple framework.  We are not claiming to overcome some of the other frameworks.

Popularity: 46% [?]

CFZen - Framework

We have been wanting a very simple lightweight framework.  We saw several that were out there and we are in development stage of a framework that will work on ColdFusion 7 and maybe even for older versions.  We have it working us and will soon allow a few people to work on the alpha version of it.  This framework is not to replace other frameworks but will for work any application big or small.Our goal is to keep it simple and lightweight.  Currently the framework file you include is less then 35 lines of code including comments.   When making comments or making suggestions to change it please remember the goal is to keep it very simple.When we release this it will be on RIAForge.org.

Popularity: 43% [?]

CF101 - Setup a Personal Development Enviroment.

There are many variations of things I could tell you to do to setup a Personal Development Enviroment.  This article is not a all inclusive way to setup a a Personal Development Enviroment, however this is a way for me to start helping beginners setup their way to learn ColdFusion and Web Application Development from scratch.  I hope then to help a few of you find jobs using this Personal Development Enviroment.   Even if you make changes but if this helps  you please let me know.

First I will have to assume you know HTML, however if you don’t then do not despair as I will give you code examples that will include HTML.   Later I plan to make other classes available teaching HTML, CSS, Frameworks, AJAX, and more.

What do you  need to setup your own machine for learning ColdFusion Programming.

  • Database 
  • Web Server 
  • Web Software
  • Code Editor

Some tools may combine some of these so you do not have to have seperate items. 

Database 

I would download the open source MySQL server and install it using the defaults. 

Web Server  & Web Software

  1. ColdFusion 9 Installation How-ToStep 1: Auto Run your CD or Double Click the installation file, you will see this screen as it extracts the compressed files.
    ColdFusion Installation Screen 1
  2. IntroductionWelcome to the installation Wizard of Adobe ColdFusion 9, Adobe recommends that you exit from all running applications before proceeding. This is more then a recommendation, some applications may cause the installation to fail.
    ColdFusion 9 Installation Screen 2
  3. License AgreementInstallation and Use of Adobe ColdFusion 9 Requires Acceptance of the Following License Agreement. Accept the terms or end installation process now.
  4. Install TypeIf you do not have a serial number, select either 30-day trial or Developer Edition. NOTE: Developer Edition only allows 2 CPU’s connected at a time. Your SQL server and if your a black hat, the Reverse Proxy HTML Wrapper. If your a White Hat, then it will be your workstation computer.ColdFusion 9 Instllation Screen 4
  5. Installer ConfigurationYour choice; Server Configuration, Enterprise Multiserver configuration & J2EE Configuration. In my step-by-step example I am using the Server Configuration. If you expect server growth I would recommend Enterprise Multiserver configuration.ColdFusion 9 Installation Screen 5
  6. Sub-Component InstallationSelect the subcomponents to install: Coldfusion 9 ODBC Services, Coldfusion 8 Search Services, ColdFusion 9 Solr Services, .NET Integration Services, ColdFusion 9 DocumentationColdfusion 9 Instllation Screen 6
  7. Select Installation DirectorySelect the directory where you want to install Adobe ColdFusion 9. The default directory is C:\ColdFusion9
  8. Configure Web Servers / WebsitesIf IIS is NOT installed on your system the “All IIS websites” will not be an option. You will however have the option for Apache and SUN’s version of a web server. Or if you are installing the Developer Edition you have the option for a built in web server. I recommend using the built in web server.ColdFusion 9 Installation Screen 8
  9. Choose Adobe ColdFusion 9 Administrator LocationSelect the location of the web root for Adobe ColdFusion 9. This is where the installer places the Adobe ColdFusion 9 Administrator. This directory must be the web root for one of the websites to be configured for use with Adobe ColdFusion 9. If configuring an IIS website, you must set scripts to be executable.  Default directory: C:\inetpub\wwwroot
  10. ColdFusion 9 Installation Screen 9
  11. Administrator PasswordEnter the password that you will use to restrict access to the ColdFusion Administrator. *This field is required.
  12. ColdFusion 9 Installation Screen 10
  13. Enable RDSThe ColdFusion Remote Development Servers (RDS) lets developers using Adobe tools remotely connect to this server for development purposes. RDS is required for Line Debugging, Report Builder, and Dreamweaver Extensions.  YOU WILL WANT THIS. Unless this is a production server and you have already debugged and tested your applications.
  14. ColdFusion 9 Installation Screen 11
  15. Pre-installation SummaryReview the installation options, Type, Licensing, Directories and Server Information.ColdFusion 9 Installation Screen 12
  16. Installing Adobe ColdFusion 9Congratulations! You’re on your way to developing the next generation of web applications with Adobe ColdFusion 9.
  17. ColdFusion 9 Installation Screen 13ColdFusion Installation Screen 14ColdFusion 9 Installation Screen 15
    ColdFusion 9 Installation Screen 16
  18. Please WaitPlease wait, Adobe Coldfusion 9 is being configured for your system. This may take a moment…ColdFusion Installation Screen 17
  19. Installation Complete
    You have successfully completed the first step in installing Adobe ColdFusion 9.

Code Editor

There is several choices CFEclipse or NotePad++.  I would choose CFEclipse for now.  You have to install Eclipse and then read the instructions on CFEclipse website on how to add CFEclipse to Eclipse.

Try going on your machine that you have installed.  http://localhost:8500/cfide/administrator/index.cfm  If you have used a password

After you have this installed then you can start working on the Beginner ColdFusion Applications.

Popularity: 47% [?]

At CFUnited 2009

Having a great time at CFUnited 2009.  You can use ColdFusion 9 to create extensions to SharePoint.  There is a cfspreadsheet tag to make reading, updating, and creating spreadsheets on the fly very easy.ColdFusion 9 includes Hybernate behind the scenes so you can create a ColdFusion application without using SQL.More to come…I have been commuting to work 2 1/2 hours one way so it makes it hard to get started blogging.  I want to make sure the things I post are what you are interested in so send or post your questions and suggestions for CFTipsPlus.com.

Popularity: 48% [?]

Railo and MOWES - Web Servers on your Jump Drive (Railo Now Open Source)

Railo is now Open Source.Check Out Railo you can even make a portable server from it on a Jump Drive so if you go over a friends house or family members house you can simply insert the jump drive and a portable version of mysql and you have a complete ColdFusion server and database to practice coding as well as show off what you have done.Railo Expresshttp://www.getrailo.org/http://www.getrailo.com/Another cool thing I did was to add MOWES to my Jump Drive it can be configured to have a Apachie Server and a MySQL database.MOWEShttp://www.chsoftware.net/en/useware/mowes/mowes.htmYou can even add Perl and PHP to this Jump Drive to have different languages to learn and practice.  When you go to download it you can customize what tools you want to use with it.  Drupel, Joomla, WordPress, etc.

Popularity: 65% [?]

Output Text in X Number of Columns

You can just modifiy the number of items in a row and change the test to whatever your query name is and of course the someColumn to the column coming from the database.  This is a simple way to do this but it does not account for the extra columns that may be left over when you don’t have a full row.  This is just a starting point for beginners.

<cfset NumofColumns =”2″>
<table>
<tr>
<cfoutput query=”test”>
  <td>#SomeColumn#</td>
  <cfif CurrentRow MOD #NumofColumns# IS 0>
    </tr>
    <tr>
  </cfif>
</cfoutput>
</tr>
</table>

Popularity: 54% [?]

Alternating Colors or Green Bar Effect

There are a few ways you can produce the  Green Bar Effect or now more commonly know as alternating colors.  If you are putting this in a <cfoutput query=”somequery”> result set then CurrentRow will give you the current row in the query you are at.  You can change it to be some other variable and increment it  yourself if you want too. 

Example 1a:
<cfoutput query=”test”>
    <tr bgcolor=”###IIf(CurrentRow Mod 2, DE(’ffffff’), DE(’EEEEEE’))#”>
</cfoutput>

Example 1b:
<cfoutput query=”test”>
    <tr class=”###IIf(CurrentRow Mod 2, DE(’alfColor1′), DE(’alfColor2′))#”>
</cfoutput>

  Read more »

Popularity: 54% [?]

ColdFusion for Beginners

Where do I start?

 

  • Install ColdFusion and Which Web Server?

  You can pick a web server to use or the one that ColdFusion will install when you install ColdFusion.  Some Web Servers you can use are IIS, Apache, or the one ColdFusion will install.  Since this is about ColdFusion we will not discuss how to install a web server there are plenty of websites that can teach you how to do this.  Once you have a web server installed locally and have testing a simple page to see that it is working.    Adobe.com has ColdFusion for download.  During the install when you get to the serial number you can simply choose Developer and it will let you install a full working version of ColdFusion that will work for you locally with the limitations being the number of IP’s that can access it.  There are plenty of websites you can find that will tell you detailed instructions on installing ColdFusion including Adobe’s own website.  Read more »

Popularity: 68% [?]