T
Tom L
I'm pretty new to .net stuff, but not new to programming (lots of vb, sql,
cold fusion, and some asp)..
I have a "middle layer" object model I created, that has all my business
rules and database access for an order entry system, starting with the Order
object, and other basic child items, like LineItems and PAyments under that.
This is being used in the vb.net front-end for normal users in the company,
but I'd like to use this for the web front-end as well in asp.net.
But I'm trying to best figure out where and how I keep the session data for
the user.
Scenario 1 - Use the object model in a passive way, where I use only
individual objects as necessary for "some" rules and db operations, and
after every web page I update data in a "shopping cart" table, and populate
the objects as necessary.
Scenario 2 - Somehow pass the Order object from page to page, which will
keep all data available, especially for those complex operation like order
totalling.
I would like to save some load on the sql server, and would prefer NOT to
have a db r/w every page access. Plus, I'm really after code reuse; but I'm
also looking for maximizing web performance.
Where do web services factor in? Is this a case where I take my "order
component" and turn it into a web service, or do I call it as just any
other object?
Thanks!
cold fusion, and some asp)..
I have a "middle layer" object model I created, that has all my business
rules and database access for an order entry system, starting with the Order
object, and other basic child items, like LineItems and PAyments under that.
This is being used in the vb.net front-end for normal users in the company,
but I'd like to use this for the web front-end as well in asp.net.
But I'm trying to best figure out where and how I keep the session data for
the user.
Scenario 1 - Use the object model in a passive way, where I use only
individual objects as necessary for "some" rules and db operations, and
after every web page I update data in a "shopping cart" table, and populate
the objects as necessary.
Scenario 2 - Somehow pass the Order object from page to page, which will
keep all data available, especially for those complex operation like order
totalling.
I would like to save some load on the sql server, and would prefer NOT to
have a db r/w every page access. Plus, I'm really after code reuse; but I'm
also looking for maximizing web performance.
Where do web services factor in? Is this a case where I take my "order
component" and turn it into a web service, or do I call it as just any
other object?
Thanks!