Spider Pig

I've been humming the tune to Spider Pig all morning. Anybody know where I can get the soundtrack?

10042 Views Print Print Comments (1) Random

Eclipse Performance Settings

On the CFEClipse mailing list today, Sonny Savage posted a link to Eclipse performance settings. I thought I would repost the link for others. Have a look at the Performance Settings for Eclipse.ini

Also, for posterity, the CFEclipse Wiki has other interesting articles such as:
Installing RDS support
Line Numbers (a common question)
Restoring Deleted Files
The Preference Pane

If you use eclipse, you owe it to yourself to read over the Table of Contents for the CFEclipse Wiki.

Installing Transfer in ModelGlue:Unity

Today we will install the Transfer ORM inside our Contact-O-Matic application. To complete this tutorial, you should have the Contact-O-Matic installed and running. If you have not completed this step, please create the database described at the bottom of Series 6 and install the files at Series 10 download link. Test the application by manually adding several ContactTypes to the ContactType table in your database (I chose Co-Worker, Enemy, Friend). Then use the Contact Form in the ContactOMatic application to enter a few contacts.


Cheat Sheets by Pete Frietag

I just rediscovered a sweet list of Cheat Sheets at Pete Freitag's blog. I find the cheat sheets very helpful for syntactical questions for common tasks. The list is fairly extensive and covers 30+ topics:

There are extra links at the bottom of the post...Thanks Pete!

Update: Nick Tong maintains another good list of cheetsheets

Replacing a small laptop computer

A long time ago in a land far far away, my no-brainer choice for new computers was Dell. I recommended Dell systems over the years as the safe option for businesses, friends and neighbors. In the last year, I have made an about face.


From the You Can Not Be Serious file

I was poking around the web today and found a nice post from Doug Hughes about an SQL server issue. The post was commented 88 times. Many people showed their gratitude to Doug for posting the solution to a vexing problem. One commenter takes the cake however:

view plain print about
3I have a same problem.
4I am Using SQL Server 2000 in my computer.
5I try to access the sql server 2000 from another computer. Its gives error.
6"unale to connect to server"
8Please fix it
12Posted By Jenkins on Jun. 21, 2006 at 7:16 AM

To which Joe Reinhart replied to, rather Tongue in Cheek:

view plain print about
3Care to send the IP addres and SA password?
5Posted By Joe Rinehart on Jun. 21, 2006 at 8:31 AM

Then I laughed even harder when I read: (I placed the x's in there. I have a conscience.)

view plain print about
1Hi Joe
3In "connect to SQL Server" Window.
4SQL Server : IP Address(114.x9.130.13)
5I select SQL Server authentication
6Login name : User Name (jenkins)
7Password : pwd (*****)
9Then i click ok.
11Its gives error.
12"unale to connect to server 114.x9.130.13"
14Please fix it
19Posted By Jenkins on Jun. 21, 2006 at 8:55 AM

Wow! I'd love to know what happened to that server.....

Fresh Flex Builder Install does not like flash remoting projects

I recently slicked the development environment on one of my laptops and reinstalled everything; ColdFusion, Flex Builder, Eclipse etc.

While testing, I found I could create and run basic projects but creating a Flash Remoting project does not work.
Even if the new application contained simply an mx:application tag and a mx:panel tag, it would throw two runtime errors:

Error #1
view plain print about
1VerifyError: Error #1053: Illegal override of subtopic in mx.messaging.Consumer.
2at flash.display::MovieClip/nextFrame()
3at mx.managers::SystemManager/::deferredNextFrame()
4at mx.managers::SystemManager/::preloader_initProgressHandler()
5at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
6at flash.events::EventDispatcher/dispatchEvent()
7at mx.preloaders::Preloader/::timerHandler()
8at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
9at flash.utils::Timer/flash.utils:Timer::tick()

Error #2
view plain print about
1TypeError: Error #1009: Cannot access a property or method of a null object reference.
2at mx.managers::SystemManager/::docFrameHandler()

Tom and João pointed me to a hotfix for FlexBuilder at http://www.adobe.com/go/kb402000. After installation of the hotfix, the errors went away. I should have looked for a hotfix, but since I downloaded a fresh binary, I thought I was above the law! No one is above the law, are they?

4546 Views Print Print Comments (0) Flex

Residents of the Commonwealth of Virginia, beware!

Man, am I glad I am not a resident of Virginia. Those who are should be mindful of a new law put into effect July 1st, the date new laws go into effect in the Commonwealth. Commonwealth, defined as "government based on the common consent of the people", took on on a spurious new meaning July 1st in House Bill 3202 with the addition of Civil Remediation Fees. What is a Civil Remediation Fee, you ask? Allow me to present two scenarios:


Learning OO and have questions?

Taking the decision to learn OO programming can be a confusing route. With all the new and complicated taxonomy, variety of opinions and general annoyances of OO programming, where do you turn for advice?

Doesn't it seem that most OO discussions take place on the ModelGlue or MachII mailing list? While that is true, I would like to point out two resources that are truly gems. The #ColdFusion channel on Dalnel IRC is a great place to ask questions and get help. Staffed by a set of ColdFusion Experts, simply join the channel, introduce yourself and ask away...

The second resource is the CFCDev listserv. This listserv has been in operation since CF6 came out. The focus is on OO programming and spans across the various frameworks and methodologies across the ColdFusion landscape.

I confess to having read each one of the archived posts early on in my transition to OO programming. You can find the Archives for CFCDev as well as the Registration for CFCDev

Happy Programming!

So you want more tutorials?

I am going to continue the 'So You Wanna Create a Model Glue Application series. (Thanks Lola ;) For those just tuning in, the Contact-O-Matic is a simple example of a mini-application using ModelGlue and ColdSpring. The tutorials on the Contact-O-Matic go through the code line by line showing how to perform such tasks as:

  1. Set up the frameworks
  2. Build a View
  3. Place your CSS and JS files
  4. Create a form
  5. Validate a submitted form and persist the data
  6. Return success/error messages
  7. Resolve CFC dependancies with ColdSpring
  8. Create Instance Objects with factories
  9. Refactor, as needed

The Contact-O-Matic is not an example of a Best Practices- Enterprise application. This is due to the simple nature of the program. We simply have a list of contacts, a mechanism to add and edit contacts, and a way to remove contacts. As Object Models grow complex in complex applications, it is important to note that there is no perfect Object Model, only the least annoying set of tradeoffs. I want the code in the Contact-O-Matic to remain simple, and so it shall.

Our next move is to integrate Transfer ORM into our application. The next set of posts will cover installation and testing of the Transfer ORM Framework, the inclusion of another 'Contact-O-Feature' in our application as well as some Architectural Techniques.