[flexcoders] Re: Need Suggestions for database application.

2009-04-16 Thread jcjr031064
PHP is good for server-side and there are frameworks that will help you 
encapsulate database layer so you can easily switch from one db engine to 
another e.g. MySQL to PGSQL,etc.

Built in PHP is PHP Data objects library that can help you with this problem as 
well if you need a thin layer for your database layer.


JC
--- In flexcoders@yahoogroups.com, "raja_s_patil"  wrote:
>
> Hello,
> 
> We are in process of converting a Desktop C/S Database application
> to web application. Till date we have not developed any web
> application. We have evaluated Flex as development platform
> and created a small pilot application without data access
> and the respective client has admired general features provided
> by Flex. Now we would like to evaluate data access part of Flex.
> 
> Now what we need is help on designing data access part of
> application. Since this is First Adventure for Both of us 
> (Client and We) there is no legacy system so we are starting 
> from scratch. Can somebody suggest how we should proceed so
> that there are no/minimum problem in production. At present
> the application being ported to we is written in Delphi with
> Firebird as Database Engine. Most of the business logic is
> stored in Stored Procedures and runs on Linux, Win XP, Win 98 as
> data base servers. We dont mind on time to be taken for development
> or efforts in developing/implementing but we expect to achieve
> following goals.
> 
> 1> The application should be independent of Backend database.
>i.e. it should be able to use any of Oracle, MS-SQL, MySQL,
>PostgreSQL, Firebird as backend.
> 2> The business logic should move from Stored procedures to some
>middle layer i.e. to Application server.
> 3> It should be possible to separate application server and database
>server i.e. application server and Database servers can be at
>different physical locations or they can reside on same server.
> 4> the communication between database server->application server and
>application Server->Client should be secured one or may be
>encrypted so that man in middle is not able to modify the data
> 
> To best of our knowledge we have got a rough layout as follows.
> To start with have spring as application server with hibernate
> integration for data access. Then Flex application will 
> communicate with application server through BlazeDS.
>  
> Can somebody suggest us a better way of doing it so that
> above goals are achieved and efforts are minimised for both
> development/implementation and maintenance.  
> 
> Thanks for reading this long post and best regards
> 
> raja
>




[flexcoders] Re: Help on DataGrid dataProvider

2009-03-08 Thread jcjr031064
Oh... That's interesting. I could use attributes instead of nodes.
Thanks.


JC
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Flex will find the attributes but not the child nodes.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of jcjr031064
> Sent: Wednesday, March 04, 2009 7:56 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Help on DataGrid dataProvider
> 
> 
> Thanks a lot. I followed your recommendation and it worked.
> 
> I though that flex automatically fetched the field names from the xml as in 
> the case of default resultFormat i.e. object.
> 
> I guess for e4x, the dataGridColums must be explicitly specified.
> 
> Thanks again.
> 
> JC
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
> Harui  wrote:
> >
> > You may need to specify the dataFields in your DataGridColumns depending on 
> > what the XML really looks like
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> > Behalf Of jcjr031064
> > Sent: Tuesday, March 03, 2009 11:43 PM
> > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Help on DataGrid dataProvider
> >
> >
> > Hello guys,
> > A newbie here.
> >
> > I have this code:
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute" creationComplete="bookData.send()">
> >
> > 
> > 
> > 
> >  > source="{bookData.lastResult.stock}"/>
> >  > resultFormat="e4x"/>
> >  > dataProvider="{xmlBooks}"/>
> > 
> >
> > How do I get the datagrid to be populated with rows? The alert.show calls 
> > somehow get the data.
> >
> > What am i missing here?
> >
> > JC
> >
>




[flexcoders] Re: Help on DataGrid dataProvider

2009-03-04 Thread jcjr031064
Thanks a lot. I followed your recommendation and it worked.

I though that flex automatically fetched the field names from the xml as in the 
case of default resultFormat i.e. object.

I guess for e4x, the dataGridColums must be explicitly specified.

Thanks again.

JC
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> You may need to specify the dataFields in your DataGridColumns depending on 
> what the XML really looks like
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of jcjr031064
> Sent: Tuesday, March 03, 2009 11:43 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Help on DataGrid dataProvider
> 
> 
> Hello guys,
> A newbie here.
> 
> I have this code:
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute" creationComplete="bookData.send()">
> 
> 
> 
> 
>  source="{bookData.lastResult.stock}"/>
>  resultFormat="e4x"/>
>  dataProvider="{xmlBooks}"/>
> 
> 
> How do I get the datagrid to be populated with rows? The alert.show calls 
> somehow get the data.
> 
> What am i missing here?
> 
> JC
>




[flexcoders] Help on DataGrid dataProvider

2009-03-04 Thread jcjr031064
Hello guys,
A newbie here.

I have this code:

http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="bookData.send()">










How do I get the datagrid to be populated with rows? The alert.show calls 
somehow get the data.

What am i missing here?


JC