Blog

New Collaborator: Ariel Gonzalez

Posted by Luis Majano
09 Sep 2005 12:00 AM
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.

Laterz

Coldfusion Snippet: Bugtracking Methods

Posted by Luis Majano
08 Sep 2005 12:00 AM
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]">

Ben Forta's XMPP Cool CFDOCS

Posted by Luis Majano
07 Sep 2005 12:00 AM
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!!

The ultimate database query Tool, Aqua Data Studio

Posted by Luis Majano
07 Sep 2005 12:00 AM
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.

Refreshing Coldfusion Web Service Stubs

Posted by Luis Majano
06 Sep 2005 12:00 AM
Coldfusion introduced the use of web services in coldfusion MX and what a great feature. However, there are some intricacies on this feature. Web Service stubs, stubs are created by Java in order to define the signature of a web service. This holds the request and response headers, the arguments and their data types. So if a change in signature occurs, the stubs need to be refreshed or recreated. You can either do this programmatically or manually.

Most of the time the programatic approach will work, but sometimes these little bastards persist. So you have to follow a procedure and clean them out. Below you will find the programmatic way first:

<cfobject type="JAVA"

action="Create"

name="factory"

class="coldfusion.server.ServiceFactory">


<cfset RpcService = factory.XmlRpcService>


<cfset RpcService.refreshWebService("http://testwebsite/webservice/myservice.cfc?wsdl")>

Coldfusion Snippet: Get your local server hostname

Posted by Luis Majano
06 Sep 2005 12:00 AM
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", "java.net.InetAddress")>

<cfset inet = inet.getLocalHost()>

<cfoutput>#inet.getHostName()#</cfoutput>

NetDebugger and CF Flash Forms

Posted by Luis Majano
02 Sep 2005 12:00 AM
This entry is to enlighten those who need to enable the Flash Remoting NetDebugger using CF Flash Forms. By default, coldfusion has the flex debuggin off, so you either have to tweak the flex settings or programmatically activate the debugging.

I would not recommend the first solution on a production environment, due to the nature of somebody peaking in to your requests and responses. However, for development is fine. So to start, find the following file: flex-config.xml which can be found under the following directory:

{CF_ROOT}/WEB-INF/cfform/flex-config.xml

Open the xml file and locate the following section:

<!-- When production-mode=true, the debugging options are always

false and may not be set. -->

<debugging>


<!-- allow override of values in debugging section via

query parameter on a per-request basis, if applicable -->

<process-debug-query-params>true</process-debug-query-params>
......

</debugging>

This is the flex debuggin configuration. So in order to activate the debugger change the following entries to true.

<!-- turn on debug to see the request and response on the server side as well

as debug information in client side tracing -->

<remote-objects-debug>false</remote-objects-debug>


<!-- turn on debug to see the request and response on the server side as well

as debug information in client side tracing -->

<web-service-proxy-debug>false</web-service-proxy-debug>


<!-- turn on debug to see the request and response on the server side -->

<http-service-proxy-debug>false</http-service-proxy-debug>

Hurricane Katrina Relief

Posted by Luis Majano
02 Sep 2005 12:00 AM
Here is a link to provide relief to the victims of Hurricane Katrina.

We in Florida got a preview of Katrina's destructive power, I will post some photos of what Katrina did in my community later on.

So please be kind and DONATE!!

http://s1.amazon.com/exec/varzea/paypage/PELYGQVJ8Q7IB/103-6501192-3135834

HTMLArea Free DHTML Online Editor

Posted by Luis Majano
02 Sep 2005 12:00 AM
I just recently found this great DHTML editor. I will start implementing it in my applications.

I have included a copy of the latest version which you can find in the url below:

http://sf.net/projects/itools-htmlarea/

It has different modes to it and includes a Perl Spell Checker. It works for both IE & Mozilla and PC & MAC.

Legal Stuff:

HTMLArea is copyright

href="http://interactivetools.com">InteractiveTools.com and

href="http://dynarch.com">Dynarch.com and it is

released under a BSD-style license. HTMLArea is created and developed

upto version 2.03 by InteractiveTools.com. Version 3.0 developed by

Mihai Bazon for

InteractiveTools. It contains code sponsored by third-party companies as well.

It is an incredible editor. So please contribute to it.

My First Blog

Posted by Luis Majano
01 Sep 2005 12:00 AM
Hi and welcome to my blog. This is my first time blogging and all thanks to Ray Camden's BlogCFC.

It is a great tool, a basic plug and play application. However, I took the liberty of modifying some of the Look And Feel. I created a new podlayout on the left and use my own site's css. And well, added a few tweaks here and there.

Overall BlogCFC is an incredible tool. As a software engineer I found the code to be extremely well organized and everything where it should be. So a big applause for Mr Ray Camden.

I will start posting my software ideas and personal notes in this blog, so feel free to comment all you want. Suggestions are always welcomed.

Site Updates

Entries Search