Blog Archives - 15 Record(s)

Remove Filter Year: '2005' - Month: '9'

Upgrade MySQL 5.0 Beta to 5.0 Release Candidate

Posted by Luis Majano
Sep 28, 2005 00:00:00 UTC
Today was the much expected release of MySQL 5.0 Release candidate. I had previously installed the beta on my Ubuntu "hoary" linux distro and it has been running incredibly smooth. However, I had never done a MySQL upgrade and turned to Google for some help.

I could not find a single article on it, actually I looked for 5 minutes and grew desperate. So I decided to tinker around. My beta install is on /opt/mysql_5.0_beta with a symbolic link on /usr/local/mysql. I had installed the database according to the installation directions.

I unpacked the release candidate to /opt/mysql-standard-5.0.13 and copied over all my data folder from my beta install. I then had to do a:

chown -R mysql:mysql /opt/mysql-standard-5.0.13/data

Coldfusion-Java Snippet: Get your Operating System's File Separator.

Posted by Luis Majano
Sep 27, 2005 00:00:00 UTC
Every wonder a nice, quick and easy way of getting your Operating System's file separator character??

Well, I have several times. Thanks to our collaborator Ariel Gonzalez, and his java expertise. We take a look at the java.lang.System class and its getProperty() Method.

There are several useful properties that you can get from this class, some of them are listed below:

Eclipse and CFECLIPSE in use.

Posted by Luis Majano
Sep 27, 2005 00:00:00 UTC
I finally have made my complete move for CF development to eclipse. Yesterday, while I was installing a fresh copy of eclipse, I realized the new updated download of ftp and web-dav support.

Eclipse's support for FTP has been moderate of some sorts, but it seems that now they got it.

I finished my installation of CFEclipse, connected to my dev server and started working.

This is a great development platform for true developers.



Rita is coming....

Posted by Luis Majano
Sep 19, 2005 00:00:00 UTC
Well, yet another storm is approaching South Florida and panic mode has just started. I am at the office doing complete database and application backups and getting ready to go home and panic.

I truly hope this time, the electricity does not go out and no major damages occur. And they just finished fixing my roof last week.

Rita is coming...

Coldfusion Snippet: Make a sleep timer using Java

Posted by Luis Majano
Sep 13, 2005 00:00:00 UTC
This snippet utilizes the power of java to create an execution sleep timer. There are various applications for this snippet, but the purpose of the snippet is to provide you with a mechanism of making the coldfusion thread sleep for a period of time. Please be careful when setting the timer variable since it might just lock the execution thread.

I have also included a copy-paste snippet of my actual CFC function.

The snippet is actually very simple:

<cfset thread = CreateObject("java", "java.lang.Thread")>

<cfset thread.sleep(arguments.milliseconds)>

New Collaborator: Ariel Gonzalez

Posted by Luis Majano
Sep 09, 2005 00:00:00 UTC
It is my privilege to announce that Java Guru, Ariel Gonzalez, has become a collaborator for this blog. He has experience in Java development, SWING interfaces and overall Java architecture.

His posts will be made by ArielG.

So start expecting Java Snippets and cool Java entries.


Coldfusion Snippet: Bugtracking Methods

Posted by Luis Majano
Sep 08, 2005 00:00:00 UTC
This entry is for those developers trying to standardize their application development with a bugtracking module. I personally use a bugtracking.cfc and extend it on all my model components. The following snippet is the actual logError method that I use.

The method is self explanatory. You send in some ErrorDetails, the cfcatch structure, and application(cfc) name. The method will then construct a variable using cfsavecontent with the bug report and creates a LogFile in the coldfusion administrator. It then finally sends the bugreport to the email list that you can provide in the constructor of the cfc.

<cfset this.bugEmails = "[email protected],[email protected]">

The ultimate database query Tool, Aqua Data Studio

Posted by Luis Majano
Sep 07, 2005 00:00:00 UTC
I have been recently introduced to this great database utility tool, Aqua Data Studio

It is an incredible database tool, you can connecto to Oracle, MySQL, MS Sql, DB2, or an JDBC complaint database. It has an incredible Procedure Editor, Query Analyzer, Schema Browser, and best of all, written in JAVA.

The GUI is great and provides great graphical browsing of any database. I truly love this utility.

You can download it from here. Please check it out.

Ben Forta's XMPP Cool CFDOCS

Posted by Luis Majano
Sep 07, 2005 00:00:00 UTC
Ben Forta has done it again!!

He has created a CFDOCS bot using CFMX7 event gateways. You can find the information here.

I have been using it now everyday. It is an incredible and quick way of getting CFMX function and tag information.

A true indispensable Coldfusion Developer Tool.

Thanks Ben!!

Coldfusion Snippet: Get your local server hostname

Posted by Luis Majano
Sep 06, 2005 00:00:00 UTC
This is a pretty useful snippet for a clustered environment. It is a simple java snippet to get your local server host name. Please remember that if your servers are Unix based, this values are retrieved from the /etc/hosts file.

<cfset inet = CreateObject("java", "")>

<cfset inet = inet.getLocalHost()>


Site Updates


Entries Search