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).
* 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 CairngormMichel,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 WebsterRIA Practice Director (EMEA)Macromedia ConsultingOffice: + 44 (0) 131 338 6108Mobile: +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 CairngormHello !
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

