DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Free consultation

  1. #1
    Adriano Guest

    Free consultation


    Suppose you had an application in which you could amend the details of a number
    of employees in a database and then click a button to save them to the database
    as a batch.

    If you already had an 'employee' class for saving the details to the database,
    what would be the best architecture for the app?

    I imagine that you would store the amendments users make in some kind of
    array, then pass that array to a kind of collection class that instantiates
    the individual employee classes and saves the data. Does that sound right?

    Cheers in advance, if anyone chooses to respond!

  2. #2
    Richard Dalton . Guest

    Re: Free consultation



    Adrian,

    Are you in Ireland? O'Sullivan is an Irish name?

    "Adriano" <adrian_osullivan@yahoo.com> wrote:
    >Suppose you had an application in which you could amend the details of a
    >number of employees in a database and then click a button to save them to
    >the database as a batch.
    >If you already had an 'employee' class for saving the details to the >database,

    what would be the best architecture for the app?


    Could you just clarify one thing. Is your application distributed,
    i.e does it have code running on the server as well as the client,
    is all the code on the client? Basically what I want ot know is, does
    your client application connect to the database directly, or via
    remote objects.

    Or, has this decision even been taken yet? Are you in the design
    phase?

    >I imagine that you would store the amendments users make in some kind of
    >array, then pass that array to a kind of collection class that >instantiates

    the individual employee classes and saves the data. Does >that sound right?

    Broadly speaking you are right. But the trouble is in the detail.



    -Richard




  3. #3
    Adriano Guest

    Re: Free consultation


    Actually I am in England but my dad is a genuine Paddy, god bless him.

    "Richard Dalton" . wrote:
    >
    >
    >Adrian,
    >
    > Are you in Ireland? O'Sullivan is an Irish name?
    >
    >"Adriano" <adrian_osullivan@yahoo.com> wrote:
    >>Suppose you had an application in which you could amend the details of

    a
    >>number of employees in a database and then click a button to save them

    to
    >>the database as a batch.
    >>If you already had an 'employee' class for saving the details to the >database,

    >what would be the best architecture for the app?
    >
    >
    >Could you just clarify one thing. Is your application distributed,
    >i.e does it have code running on the server as well as the client,
    >is all the code on the client? Basically what I want ot know is, does
    >your client application connect to the database directly, or via
    >remote objects.
    >
    >Or, has this decision even been taken yet? Are you in the design
    >phase?
    >
    >>I imagine that you would store the amendments users make in some kind of
    >>array, then pass that array to a kind of collection class that >instantiates

    >the individual employee classes and saves the data. Does >that sound right?
    >
    >Broadly speaking you are right. But the trouble is in the detail.
    >
    >
    >
    >-Richard
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center