Today I read an excellent post on FW/1 mailing list. My impression came from ideal I try to follow in my life: "perfection lies in simplicity". I was, several times in situation to try to explain people what MVC (framework) is, and discovered that unexperienced developers have a problem to chew up that subject. One more thing I am sure about is that usually it is a problem with how things are presented more then to whom they are presented. However, this man, Ryan Cogswell, did it in 5 simple sentences. So, for everyone who are still not clear what MVC framework is and how it works, and for me who will use his words to explain others, I'll quote:
Manager asks “but what if we only have crap developers”, default response is “well, in that situation, standard best practice is to fail”
February 17, 2010
January 9, 2010
Everything is dead these days
As a ColdFusion developer most noticeable to me was spree of articles & blogs which tried to explain how CF is dead (or is about to die). But that's something I used to. Each time new CF Server comes out, "CF-is-dead wave" hit the coast. What really surprised me was that everything else died.
Few days ago, I read an "old" (for some reason it became popular again) article how UML died and 13 reasons why is so. According to author, this technology is already dead. After reading it, my only question was: What is an alternative? Read a blog, read dozens of comments and no one suggested what can be an alternative to this.
June 5, 2009
ColdFusion Regular Expression Optimization
Last night I bumped on article talking about regular expression performance tuning. After reading it and since we extensivly use regex to parse article & community content, I decided to see can we do something to bit boost performance on that side. So, here we go.
Startup facts and implications:
a) „ColdFusion is built on top of Java. ColdFusion data types (String, Query, Struct, Array, etc.) are really just custom Java classes that are built on top of things like strings, record sets, hash tables, collections, etc. „
=>
We can use java.lang.String methods on ColdFusion strings. This is more a fact then something we are going to use and you’ll see later why ;)
a) „ColdFusion is built on top of Java. ColdFusion data types (String, Query, Struct, Array, etc.) are really just custom Java classes that are built on top of things like strings, record sets, hash tables, collections, etc. „
=>
We can use java.lang.String methods on ColdFusion strings. This is more a fact then something we are going to use and you’ll see later why ;)
April 25, 2009
ColdFusion on Rails
First of all I am not talking here about porting CF in Rails framework, but porting of ideas.
After I heard for millionth time "Ruby on Rails is cool", I've decided to try it myself. Well, that was 6+ months ago: read Ruby language tutorial, few tuts on Rails framework, and that's where I stopped. Don't get me wrong, it is not because I didn't like it, but because of lack of time. Anyway, I think I got point, and point where I sincerely agree: "freedom yes, but not too much" or "too much freedom can kill you".
How is this related with ColdFusion.
Plus/minus some time since I start learning RoR, I also heard (at that time rumor) that Adobe plans to integrate Hibernate in new version of CF Server (code name Centaur).
I'll stop here (for now) and conclude: CF needs to make a choice on MVC framework and CF on Rails is there.
to be continued...
CF Wheels, framework inspired by Ruby on Rails, hit its first final version.
After I heard for millionth time "Ruby on Rails is cool", I've decided to try it myself. Well, that was 6+ months ago: read Ruby language tutorial, few tuts on Rails framework, and that's where I stopped. Don't get me wrong, it is not because I didn't like it, but because of lack of time. Anyway, I think I got point, and point where I sincerely agree: "freedom yes, but not too much" or "too much freedom can kill you".
How is this related with ColdFusion.
Plus/minus some time since I start learning RoR, I also heard (at that time rumor) that Adobe plans to integrate Hibernate in new version of CF Server (code name Centaur).
I'll stop here (for now) and conclude: CF needs to make a choice on MVC framework and CF on Rails is there.
to be continued...
CF Wheels, framework inspired by Ruby on Rails, hit its first final version.
April 23, 2009
Pingback
Wikipedia:
Pingback is an XML-RPC request sent from Site A to Site B. This functionality usually comes as part of blogging softwares since it's most commonly used there. Almost all open source blogging applications are written in PHP and only a few in CF and none of them have support for pingback. Therefore I decided to write an CF implementation by myself.
Download source code
pingback.cfc - Pingback implementation
tools.cfc - Various tools used by pingback.cfc
xmlrpc.cfc - Translates XML-RPC packets to and from CFML data structures
xmlrpc.cfm - XML-RPC Server
test.cfm - Test template. Start from this file.
Successfully tested on Railo 3.1 and ColdFusion 8 Enterprise Server.
Should not be a problem to integrate it into blogCFC.
Pingback specification:
http://www.hixie.ch/specs/pingback/pingback
A Pingback is one of three types of Linkbacks, methods for Web authors to request notification when somebody links to one of their documents. This enables authors to keep track of who is linking to, or referring to their articles.
Pingback is an XML-RPC request sent from Site A to Site B. This functionality usually comes as part of blogging softwares since it's most commonly used there. Almost all open source blogging applications are written in PHP and only a few in CF and none of them have support for pingback. Therefore I decided to write an CF implementation by myself.
Download source code
pingback.cfc - Pingback implementation
tools.cfc - Various tools used by pingback.cfc
xmlrpc.cfc - Translates XML-RPC packets to and from CFML data structures
xmlrpc.cfm - XML-RPC Server
test.cfm - Test template. Start from this file.
Successfully tested on Railo 3.1 and ColdFusion 8 Enterprise Server.
Should not be a problem to integrate it into blogCFC.
Pingback specification:
http://www.hixie.ch/specs/pingback/pingback
Subscribe to:
Posts (Atom)