Bob
Sat Mar 25 11:03:50 CST 2006
Thanks for replying.
When creating an new application, what do you suggest? Using as much as
possible server-side code or finding a balance between cleint and server?
And how to determine that balance?
Ben
"Michael Nemtsev" <nemtsev@msn.com> wrote in message
news:9cc1c86384b428c81e380ae4a274@msnews.microsoft.com...
> Hello ben,
>
> b> I made an application in classic asp (reservation of books and video
> b> stuffs
> b> for students) and want to migrate to asp.net.
> b> The user has to chose a date, then pushung on a submit button. The
> b> whole day
> b> is then displayed in cels of a table. The user has then to click in a
> b> cel
> b> representing a hour of the day and an object (book ..), and finally
> b> click on
> b> the submit button to insert that reservation in the database.
> b> My problem is: there is a lot of javascript client-side code. All
> b> onclick
> b> events are executed on client-side.
> b> Have i to change this into server-side code or i can still use that
> b> client-side code?
>
> Why for doing this? The current schema is normal, needn't to change it
>
> b> Is it true that the filosophy of asp.net is: maximum server-side
> b> script and minimum client-side?
>
> It depends on your scripts, functionality and how much compatibility
with
> other web browsers do you need.
> If everything works good now you haven't to change this for asp.net,
except
> where server-side code is really need
>
> b> If so, is there no danger to overload
> b> the server, instead of sharing the execution of the application
> b> between client and server?
>
> yes, it's a problem due to big VIEWSTATE (btw that is zipped pretty
well)
>
> ---
> WBR,
> Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
>
> "At times one remains faithful to a cause only because its opponents do
not
> cease to be insipid." (c) Friedrich Nietzsche
>
>