I am SO lost (please help)


i come fireworks background , know enough architecting databases dangerous. i've taken learning flex 2 via books, tutorials etc , understand of front-end aspects of it. however, want connect mysql database , can't believe how difficult/complicated seems.

on assumption easiest learn, i've gone cfusion 8, installed locally , have set data sources (to mysql on different networked machine). understand it, flex can talk directly cfusion talks mysql -- fair enough. flex uses actionscript class talk coldfusion component, right? flex wizards create and/or relate each other these .as , .cfc files (same if created cfc in dreamweaver)?

now, these wizard relations "strongly typed"? , shouldn't cfc's saved cf server root? also, wizard created cfcs seem have sql code right in them -- i've read/been told security issue (i.e. use stored procedures instead).

i've installed flex 3 , spend day trying ensure set etc -- i've read flex dataservices, blaze, livecycle , rds (plus flex coldfusion extensions). frankly don't know if have 1 or more of these installed or ones wizards use or how differentiate between them etc etc.

is there site/guide/tutorial starts @ intro/installation level can @ least foundation work from? don't mind bludgeoning way through without sort of guide fear learning curve problematic.

at moment i'm thinking of learning how create entire site in non-flash/flex cfcs in dreamweaver first. way too, of business rules/logic can in "model/dbase". presumably allow me create cfusion dbase connectivity, after can use flex wizard build class cfc right? then, imho connectivity flex seems difficult (error handlers, remote objects etc) , lengthy.

but missing part of puzzle? in advance feedback

yeah, problem "flex"ibility, there damn many choices.

your best bet hit google examples , decide seems best you.

in opinion, simplest setup have server respond xml, use httpservice in flex, resultformat="e4x".

this because can solve problem in pieces:
* build server side functionality take request, query db (use stored proc if like), , return xml.
* hit server url request browser, , see meaningful xml
* build flex ui using hard coded xml(referenced in variable), using same format see in browser.
* use httpservice hit server url same querystring used in browser
* replace hard coded xml results httpservice result.

the benefit of approach can make each part work, without having have whole thing work. if go way, have sample code.

but 1 of many possible approaches. maybe instead of platform named "flex", need platform named "dothis"!

tracy


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support