ColdFusion, Web Development and other stuff....

Chennai CFUG July Meeting: CF Software Architecture for Web 2.0

Chennai ColdFusion User Group Next Meeting is on July 25, 2008 and will discuss about CF Software Architecture for Web 2.0. In this session Simon Free will discuss how best to architect your CF code so that it can be easily extended to be used with the default CF8 AJAX features, as well as Flex and Lifecycle. Simon will take a simple application and see what steps you must take to extend it to work in these technologies.

This will be an online meeting and you can find more information about meeting at CFUG India.

ColdFusion Positions In Chennai and Hyderabad (India)

ColdFusion Positions In Chennai and Hyderabad(India)

Petra Technologies Inc (Chennai, India) is looking for a ColdFusion Consultant with minimum Experience. Requirements include 10G Oracle Database, MVC Framework skills, as well as Knowledge in AJAX, Flash, XML, CSS will be added advantage. Contact Joshua.

Clavib (Hyderabad, India) is looking for an Experience ColdFusion developer with Strong Database Knowledge with 5 Years of Experience in IT. Contact Kalyan Kumar.

Using both AttributeCollection and other Attributes with ColdFusion tags in CF 8.0.1

The ColdFusion 8 AttributeCollection is one of the coolest features with ColdFusion 8 Release. The ColdFusion 8.0.1 release gave some enhancements to AttributeCollection which is nothing but combining both attributes and attributecollection with a ColdFusion tag. We can use attributecollection like this

<!--- Creating attributecollection name/value pairs for cfmail tag --->

<cfset objMailAttributes = {
Server = "mail.mycompany.com",
Username = "companyxyz",
Password = "zyxcompany",
To = "tomail@mycompany.com",
From = "frommail@mycompany.com",
Subject = "Using AttributeCollection and Attributes in CF8",
Type = "plain"

} />


<!--- Using attributecollection structure in the cfmail tag --->

<cfmail attributecollection = "#objMailAttributes#" type="html">
<p>
Now we can use both AttributeCollection and Attributes with ColdFusion tags in CF 8.0.1
</p>
</cfmail>

In the above code I have added an attribute type with value "html". So if an individual attribute is already defined in the attributecollection then ColdFusion will only use the individual attribute value. Executing the above code with CF 8.0.0 will throw you an error like below.

The attributeCollection attribute cannot be used in
combination with other attributes in the cfmail tag.

Related Information:

ColdFusion 8 Update 1 Download Link:
http://www.adobe.com/support/coldfusion/downloads_updates.html#cf8

ColdFusion 8 Livedocs about AttributeCollection:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Elements_04.html

Ben Nadel Blog Entry About AttributeCollection in CF8:
http://www.bennadel.com/blog/755-Learning-ColdFusion-8-Defining-Tags-With-AttributeCollection.htm

Using Google Custom Search Engine for Websites and Blogs

Setting up the Google Custom Search Engine (GCSE) for our websites and blogs is extremely simple and straight forward. We can host the Google search results on our websites or blogs in two ways as:

1. IFrame - Need two pages one for Search another for Search Results.
2. Modal Overlay - Need only one page to present the result in modal Overlay.

My GCSE is included with 100+ ColdFusion sites which will fetch more results for the given search keyword.You can manage your GCSE sites in the control panel. Follow this detailed instruction on Implementing Google Custom Search Engine in your sites and blogs.

Google Custom Search Engine Links:
http://www.google.com/coop/cse/
http://googlecustomsearch.blogspot.com/

Charlie Arehart's - CFML-Specific Search Resources:
http://carehart.org/resourcelists/tools_to_consider/index.cfm#cfsearch

Using cachedWithin/cachedAfter in CFQUERY with CFQUERYPARAM

Earlier morning, I was working on creating a cached query for to display Next N record-navigation interface. I'm having the ColdFusion 8 installed in my system. The below query with CFQUERYPARAM executes well and my aim of displaying Next N record-navigation is achieved.

<cfquery name="qBlogFeedResult" datasource="#application.dsn#" cachedwithin="#createTimeSpan( 0,0,30,0 )#">
select *
from blogfeed
where datecreated > <cfqueryparam value="#attributes.date#" cfsqltype="cf_sql_timestamp">
order by datecreated desc
</cfquery>

When testing this query in my other system having ColdFusion 7 installed I got the below error because CF 7 will not allow of using cfqueryparam in cfquery with cachedWithin/cachedAfter.

Using "cachedWithin" or "cachedAfter" in CFQUERY with CFQUERYPARAM is not allowed.

The great news is ColdFusion 8 allows cachedWithin/cachedAfter in cfquery with cfqueryparam and this is one of the hidden gems of ColdFusion 8. But in CF8 documentation which is not having the updated information about this functionality.

To explore more about CF 8 Hidden Gems please check Charlie Arehart's presentation on Hidden Gems in ColdFusion 8 PDF and his recorded Adobe Connect Presentation.

AIR 1.1 and AIR Updater Framework Available

AIR 1.1 has been released! And available at: http://get.adobe.com/air/

The major change in this version is support for localized and internationalized applications. The AIR runtime itself now supports multiple languages (Brazilian Portuguese, Chinese, French, German, Italian, Japanese, Korean, Russian, and Spanish), as well as support for building internationalized applications (including keyboard input for double-byte languages).

Meanwhile, over in the Labs, there's an Adobe AIR Update Framework just out:
http://labs.adobe.com/wiki/index.php/Adobe_AIR_Update_Framework

This beta release of the update framework for Adobe AIR applications provides APIs to help developers offer good update capabilities in their AIR applications.

Rich Internet Application Teaching Resources on Adobe.com

Rich Internet Application Teaching Resources on Adobe.com

URL: http://www.adobe.com/education/instruction/teach/ria.html

RIA Teaching Resource Includes:

* Projects to integrate application design or development into existing courses.

* Introductory online workshop modules for supplemental self-study.

* Book recommendations to put together a course on RIA design and development.

Communication and Collaboration Resource Center For Faculties:

K-12 http://www.adobe.com/education/resources/k12/resourcecenters/communication/communication_collaboration/ index.html

Higher Education http://www.adobe.com/education/resources/hed/instrutional/connect/collaborative_teaching/index.html

O'Reilly's : Flex Cookbook Cook-Off Contest

This summer, O'Reilly Media announces the Flex Cookbook Cook-Off contest to celebrate the recent publication of Flex 3 Cookbook: Code-Recipes, Tips, and Tricks for RIA Developers written by Josh Noble, Todd Anderson, and a selection of authors whose recipes were plucked from the Adobe Flex Cookbook web site.

From June 2-August 1 we invite you to submit your best code recipes for the chance to win some great prizes. Four winners will be chosen during the contest period. The prizes Include:

Grand prize: A ticket to Adobe MAX in San Francisco, California and $500 (US) in O'Reilly Media books.

Community choice award: $350 (US) in O'Reilly Media books.

Second prize: Every Adobe Developer Library book published by O'Reilly Media.

Third prize: Five O'Reilly Media books of choice.

Contest runs between June 2 to August 1, 2008 and Winners are to be announced on Sept 1, 2008.

To submit your entry, go to: http://www.adobe.com/go/flex_cookbook

More Information at: http://www.insideria.com/2008/06/flex-3-cookbook-cookoff.html

More Entries

Akbarsait © 2008. | BlogCFC was created by Raymond Camden - Version 5.9.002. Contact Blog Owner