当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: This month were talking abo
 

 

 ·more rss for java    »显示摘要«
    摘要:in my previous article, we looked at the creation of a simple rss feed using the informa api. in this article, we are going to refine the earlier solution and look at some other aspects of the informa......
 ·configuration blues    »显示摘要«
    摘要: have you ever noticed how some applications seem to configure themselves? i dont mean that they auto-detect their settings; rather, the configuration process and tools are so well designed that ......


Tales from the List @ JDJ

this month were talking about java, web services, and "things not cf" - topics that are fast becoming common subjects of discussion among cfers. im not going to focus on just one cfdj list thread, but on several recent threads and examples that illustrate the trend, and a recent new requirement to explore other technologies.

as everyone knows by now, with the release of coldfusion mx the coldfusion application server now runs on top of the java platform. a world of new functionality now exists under the hood, just waiting for cf developers to take advantage of and find clever uses for it. for example, how many times have you created a coldfusion variable and then used the ampersand operator in your cfml code to append characters to this string? its not an uncommon occurrence at all. while theres nothing inherently wrong with this practice - there is another way!

in java theres a class called the stringbuffer class. in addition to other uses, its often used in servlet programming to build an html string before returning it to the browser. its quite easy to use a stringbuffer instead of a coldfusion variable to store and manipulate strings; the advantage is that stringbuffer objects have a built-in method that performs concatenation with the current value. this means that rather that instantiating a new object in memory every time you concatenate (which is what happens in cfml), you can create one object and tell it to concatenate on itself. listing 1 shows the code, shown first using "standard" cfml and th
...   下一页

 ·getting into homesite+ @ jdj    »显示摘要«
    摘要: fans of coldfusion studio may lament that macromedia no longer sells the product, but take heart. it really does continue to exist in the guise of homesite+, which is basically the same thing and t......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE