Skip to content

#cfunited Notes – “Intro to jQuery”

Javascript is NOT the enemy. You can find peace.
Why jQuery?
powerful, wide support, works for me (after initial period of grumpy old man whining)
History

3 years old
high compatibility
free
minified, gziped or full fat
available on Google CDN

What does it do?

finds stuff
changes stuff
loads stuff
and more stuff

Signs that you may be looking at jQuery

$ is jQuery
lots and lots and lots of [...]

#cfunites Notes – “Advanced Custom Tags”

What is a custom tags?

CF custom tags are user created tags to extend the tag set
written in CF
executed on CF server
used along side standards tags
locally available

Why use them?

code reuse
encapsulation
abstraction
simplification
customized control flow
packaging

What about CFC?

yes everything you can do everything in CFCs but sometimes cust tags can sometimes offer a more natural feeling

Basics

stored anywhere the server has [...]

#cfunited Notes – “Create a Public Facing API”

APIs – The Basics

application programming interface
2 types – RESTful and RPC
offers ability to share data and functionality
centralize functionality

Possible Problems

poor planning can cause poor usability
needs to be accessible across multiple langauges
variable scope may not exist / be accurate
documentation needs to be extensible
security can be tested/attacked

The biggest security threat to your API

you!

Documentation
description, parameters, example call, example response, [...]

#cfunited Notes – “Extending CFBuilder w/ CFML”

http://labs.adobe.com/technologies/coldfusion9/
What can extensions do?
Anything CF can!
•    written w/ CFML and XML
•    runs on a CF server
Common Uses
•    code generation
•    framework scaffolding
•    server management / probes
•    code analysis
•    reporting
Add New Context Menus
•    RDS View (databasees and tables)
•    Outline View
•    Resource View (projects and files)
Workspace Events
Installing a CFBuilder Extension
Preferences -> CF -> Extensions
Good practice to put extensions [...]

#cfunited Notes – “Facebook applications with a CF Backend”

Workings of a Facebook App

Facebook -> your website -> Facebook API -> your website -> Facebook
They scan for “bad” stuff before displaying it.
Good though because its all secure for you.

Setup

name your application (read the terms – good bathroom reading)
make note of your API key and secret (needed for all API calls)
setup a facebook URL (unique) [...]

#360Flex Notes – “Flex, CF, and LCDS Magic” – Nick Kwaitkowski

Magic you say?
4 lines of code to get data from app server to clients
CF –> Adobe CF 7+ works but 8+ has LCDS baked in. No Railo/BlueDragon/etc.
LCDS –> middleware app designed to move data
Flex –> 2.0.1+
Data –> any serializable data including DB, LDAP, email, FTP, mapping software, web services, etc.
LCDS – expensive? yes and no.
BlazeDS [...]

#360Flex Notes – “Building real time applications with Blaze DS/LCDS” – Dan Blackman

The why?!?
CF request/response applications
Flex RIA
persisted data is not refreshed automatically
stateful approach to managing data – no more sessions
refreshed through manual client interactions or AS
Flex Real-time Apps
persisted data is refreshed via interactions w/ server
stateful approach w/ server side sync
refreshed through polling, long polling, or RTMP
data management service – life cycle service – provides data sync between [...]