Tuesday, October 2, 2007

Adobe MAX 2007 - day 2

Coldfusion Powered Ajax

cfgrid (use sql based page nav)
cflayout
Uses YUI libraries - download times are extremely heavy
Use compression on the files to reduce load...
cftooltip
cfdiv
cfpod like a cfdiv - not a big fan
jason graves (cf account manager) jgraves@adobe.com
debugging ajax logger
other tools (firebug, coldfire - debugs cf)
serviceCapture (IE)
charles - best ajax debugger/flash remoting - amazing
JSON serialize/deserialize
skinning is all css based
cf makex ajax easy
extensible through YUI & EXT
Keep an eye on EXT 2.0 - desktop like features (not silly js)
Resources
http://www.robgonda.com/dev/max/cf8samples
http://exths.com/blog/2007/09/06/ext-20-a-preview/

Keynote
coming soon...


Building CF powered Ajax apps
w/ Ben Forta

use cases
  • auto suggest, related controls, inline content, data paging, form validation, non-intrusive login
cf8 has many features to implement ajax
  • any cf app is broken from one to two (cfc's and UI)

-------------------------------------------------------------------------------------
test.cfm



art = CreateObject("component",'art');


Art Search




















Test component:


results = art.GetArt(1);


















---------------------------------------------------------------------------------------------
art.cfc






SELECT artname
FROM art
WHERE UCASE(artname) LIKE
ORDER BY artname









SELECT mediaid, mediatype
FROM media
ORDER BY mediatype










SELECT artid, artname
FROM art
WHERE mediaid =
ORDER BY artname














SELECT artistid, lastname, firstname, email
FROM artists

ORDER BY #arguments.gridsortcolumn#, #arguments.gridsortdir#



















UPDATE artists
SET #colname# = '#value#'
WHERE artistid = #arguments.gridrow.artistid#




DELETE FROM artists
WHERE artistid = #arguments.gridrow.artistid#






No comments: