Jump to content

Proper Overview of a Data Aware App


Guest

Recommended Posts

Message from: "fleeingtoelude"

 

Hello Everyone,

I've just recently discovered uniGUI and extPascal. I must say, this

is something close to a revolution for web apps. The seamless

integration is wonderful; good work Farshad!

 

For a learning project, I am building a simple form using data aware

controls to enable data entry into a single table in a MySQL database. I

have basic filtering capability to locate the desired record, and data

entry fields to edit the record.

 

Currently, all of my DataSources, DataSets and Providers are in the

ServerModule. Linking the Uni data aware components up was simple, and a

basic data entry app was created in less than 30 minutes. That's RAD!

 

However, it does not seem to be a multi-user app yet. Since

everything is piped through the same DataSource, filtering gets applied

to all connected clients.

 

How would I separate clients in this type of an app? Create a Form

and ClientDataset for each connection? Is there a mechanism to manage

such an app?

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"fleeingtoelude"

> Hello Everyone,

> I've just recently discovered uniGUI and extPascal. I must say, this is

> something close to a revolution for web apps. The seamless integration is

> wonderful; good work Farshad!

>

 

Thank you.

 

> For a learning project, I am building a simple form using data aware

> controls to enable data entry into a single table in a MySQL database. I

> have basic filtering capability to locate the desired record, and data

> entry fields to edit the record.

>

> Currently, all of my DataSources, DataSets and Providers are in the

> ServerModule. Linking the Uni data aware components up was simple, and a

> basic data entry app was created in less than 30 minutes. That's RAD!

>

> How would I separate clients in this type of an app? Create a Form and

> ClientDataset for each connection? Is there a mechanism to manage such an

> app?

 

You don't need to do anything special. Just move all of your Data components

(Connections, Tables, Datasets and etc.) from ServerModule to MainModule.

ServerModule is created once per server while MainModule is created in a

"per session" manner. Doing so will make your data aware app multi-user

enabled.

 

 

 

 

 

.

 

Link to comment
Share on other sites

Message from: "Farshad Mohajeri"

 

"Farshad Mohajeri"

> You don't need to do anything special. Just move all of your Data

> components (Connections, Tables, Datasets and etc.) from ServerModule to

> MainModule. ServerModule is created once per server while MainModule is

> created in a "per session" manner. Doing so will make your data aware app

> multi-user enabled.

 

You can also create additional DataModules from "uniGUI Wizard" for same

purpose.

 

 

.

 

Link to comment
Share on other sites

Message from: "fleeingtoelude"

 

On 11/10/2010 9:57 AM, Farshad Mohajeri wrote:

>

>> For a learning project, I am building a simple form using data aware

>> controls to enable data entry into a single table in a MySQL database. I

>> have basic filtering capability to locate the desired record, and data

>> entry fields to edit the record.

>>

>> Currently, all of my DataSources, DataSets and Providers are in the

>> ServerModule. Linking the Uni data aware components up was simple, and a

>> basic data entry app was created in less than 30 minutes. That's RAD!

>>

>> How would I separate clients in this type of an app? Create a Form and

>> ClientDataset for each connection? Is there a mechanism to manage such an

>> app?

>

> You don't need to do anything special. Just move all of your Data components

> (Connections, Tables, Datasets and etc.) from ServerModule to MainModule.

> ServerModule is created once per server while MainModule is created in a

> "per session" manner. Doing so will make your data aware app multi-user

> enabled.

>

>

 

I understand now; how elegant. I suppose I should have expected

something that simple. Thanks for your time, and keep up the good work!

 

--

Wayne

.

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...