Title: Mensagem
Hello !
 
My problem is to update a view after an execution of a Command. For example, I would like to update
DataGrid rows after performing a new database query. So, I was taking I look on Cairngorm source
code and I found the following comments for ViewHelper.as:
 
 * In order to carry out their function, Command classes will require
 * to both interrogate and update the view.  Prior to performing any
 * business logic, the Command class may require to fetch values that
 * have been set on the view; following completion of any business logic,
 * the final task often to be performed of a Command class is to update
 * the View (user interface) with any results returned, or perhaps to
 * switch the View entirely (to a different screen).
 
So, I think this pattern can help me to solve this question. Am I right ? Is it the best approuch
for updating my view ?
 
P.S: What about Cairngorm Framework compatibility in Flex 2.0 platform ? Any news ?
 
Thanks to Stanislav for his sample also !
 
Regards,
Michel.
-----Mensagem original-----
De: [email protected] [mailto:[EMAIL PROTECTED] Em nome de Steven Webster
Enviada em: quinta-feira, 27 de outubro de 2005 13:34
Para: [email protected]
Assunto: RE: [flexcoders] ViewHelper and Cairngorm

Michel,
 
Why do YOU want to use a view helper ?  What is the business problem you are trying to solve ?  What is the technical challenge ?  Design patterns are solutions to problems.  Do you have the right problem for a ViewHelper to solve ?
 
Tell us what you're trying to do ?  Who knows, maybe the ModelLocator would better suit your task.
 
Steven
 
--
Steven Webster
RIA Practice Director (EMEA)
Macromedia Consulting
 
Office: + 44 (0) 131 338 6108
Mobile: +44 (0) 7917 428 947
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand
Sent: 27 October 2005 14:01
To: [email protected]
Subject: [flexcoders] ViewHelper and Cairngorm

Hello !

How can I use ViewHelper on Cairngorm ?

Could anybody give me a sample ?

Thanks in advance,
Michel Bertrand | Desenvolvimento | DATASUL Tecnologia
Acesse
www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to