RE: [flexcoders] Re: Modules and RSLs Which is Better for Large Database application

2009-04-10 Thread Gregor Kiddie
You want to read up on the following articles

http://livedocs.adobe.com/flex/3/html/help.html?content=modular_2.html



http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_1.htm
l
 

http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.htm
l
 

http://weblogs.macromedia.com/pent/archives/2007/01/building_module.html
 

 

Also, the common mistakes usually end up surrounding application domains
so read up on

http://blogs.adobe.com/rgonzalez/2006/06/applicationdomain.html
 

http://blogs.adobe.com/aharui/  

when you run into problems.

 

 

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of raja_s_patil
Sent: 09 April 2009 17:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Modules and RSLs Which is Better for Large
Database application

 






Thanks Gregor Kiddie,

>
> Sounds like one of your DLLs is roughly equivalent to a module in
terms
> of what you want to deliver.
> 
> Just remember that each Flex module is based off a single mx::Module,
so
> if you want to package up several forms in a single module, you'll
need
> to load the module and then swap the forms on that view. Say using a
> Viewstack.
>
True, We load DLL with loadDLL Api call then create the form by
calling a function in that DLL.

> Sorry though, I don't know Delphi, so I have no idea what TForm does,
or
> what SP is (Server Process?)
> 

Well no problem. TForm is a container Class like Panel(the closest
equivalent in Flex to best of my knowledge) which has caption, min, 
max, close buttons in caption area and which can have visual controls
may be bound to datasource or plain ones, it has open, close, keypress
etc. etc. events. Well delphi is much similar to flex conceptually
so for us it took very less time to understand Flex. But it has much
stronger visual designer and IDE. But Flex requires much less code
compared to delphi.

Suppose if I create few panels with few controls in a single src file
and put them in a module how can I create one of those panel and put
as a child to main forms Canvas or similar container and free it as
soon as the panel is closed. For loading module we got some material
to read. The loading module, creating panel and adding as child to
canvas we want to perform when a menuitem is clicked.

Hope u extend ur help in this regard. Somehow learning resources
we have does not have this type of information, or otherwise
if possible give us links for similar examples. 

> If you want more module info, I posted a bunch of links on modules
onto
> the list recently.
> 

can u give me URLs for those posts or month/year of post so that
searching will be bit easier. Since I am new to this Group I not
that strong in searching messages so i have to adopt straight royal
way of searching i.e. reading page by page.

Thanks and best regards.

Raja





RE: [flexcoders] Re: Modules and RSLs Which is Better for Large Database application

2009-04-09 Thread Gregor Kiddie
Sounds like one of your DLLs is roughly equivalent to a module in terms
of what you want to deliver.

Just remember that each Flex module is based off a single mx::Module, so
if you want to package up several forms in a single module, you'll need
to load the module and then swap the forms on that view. Say using a
Viewstack.

Sorry though, I don't know Delphi, so I have no idea what TForm does, or
what SP is (Server Process?)

If you want more module info, I posted a bunch of links on modules onto
the list recently.

 

Gk.

 

"what we plan to do is we will have Panels equivalent to forms 
in delphi application. In that application we have one src file
per form doing on function and its a class derived from TForm
it contains controls and validation logic when submitted data
is passed to SP in database server and add/update/deletes are 
performed. many such forms are grouped in to a DLL which we
dynamically load when menu option is selected and the required
derived class from Tform is created and shown to user

How can we do this flex can u give some tips."

 

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk