473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

ASP.NET programming model

Hi,

I have a simple question:

If with ASP.NET model I can program almost every HTML element how if
had a framework object
(as if I programmed a Win application: event-driven)

why are there javascript framework libraries like YUI, prototype,
elaJa etc., that allow to
program the UI and that some of them have also effects, drag&drop etc?

So my doubt is should I use ASP.NET only for back-end and programs UI
with Javacript frameworks?

Maybe are the web programmers splitted in two development directions?

Thanks
Jun 27 '08 #1
5 1020
Why is there more that 1 brand of milk?
Cause people as a programmers are different.

Also .NET is server side programming, YUI, prototype is a client side
programming.
So they need to coexist. They serve different purposes.
You can not do shadow effect with .NET

The AJAX library is a (somewhat) replacement for YUI,.... And it coexist
with .NET natively. So you might think about using it instead of other
JavaScript libraries.

George.

"josh" <xd********@gmail.comwrote in message
news:79**********************************@y21g2000 hsf.googlegroups.com...
Hi,

I have a simple question:

If with ASP.NET model I can program almost every HTML element how if
had a framework object
(as if I programmed a Win application: event-driven)

why are there javascript framework libraries like YUI, prototype,
elaJa etc., that allow to
program the UI and that some of them have also effects, drag&drop etc?

So my doubt is should I use ASP.NET only for back-end and programs UI
with Javacript frameworks?

Maybe are the web programmers splitted in two development directions?

Thanks

Jun 27 '08 #2
asp.net does a good job of looking like an event driven api like winforms but
it has several limitations. every event requires posting all form input to
the server, the server regenerating the html, and the browser rerendering the
html. while this may not be noticable on your local dev box, on an internet
site it can be seconds from clicking a button and seeing a response.

those that want a more 2 tier (or 3 tier) approach, switch to the browser
and javascript, which really is like winform events. you can respond to mouse
events, add a value to a dropdrown without redrwing the whole screen, etc.

asp.net has fallen behind in the rich client development. MS current push is
to use silverlight instead of browser (as you can code the UI in a .net
language), while others (say google or apple) are building tools to make
coding browser/javascript easier.

-- bruce (sqlwork.com)
"josh" wrote:
Hi,

I have a simple question:

If with ASP.NET model I can program almost every HTML element how if
had a framework object
(as if I programmed a Win application: event-driven)

why are there javascript framework libraries like YUI, prototype,
elaJa etc., that allow to
program the UI and that some of them have also effects, drag&drop etc?

So my doubt is should I use ASP.NET only for back-end and programs UI
with Javacript frameworks?

Maybe are the web programmers splitted in two development directions?

Thanks
Jun 27 '08 #3
On 22 Apr, 16:03, "George Ter-Saakov" <gt-...@cardone.comwrote:
Why is there more that 1 brand of milk?
Cause people as a programmers are different.

Also .NET is server side programming, YUI, prototype is a client side
programming.
So they need to coexist. They serve different purposes.
You can not do shadow effect with .NET
yes they serve different purpose but with ASP.NET Javascript and
relative frameworks are not more useful. In fact the business logic
is made with ASP.NET and its event-driven model.

so I don't know which is the best, maybe ASP.NET shoud be used only
for
back-end operations (db access) while the UI management must be done
with a light Javascript framework

Jun 27 '08 #4
I do not think you have many options here.
If you writing web applications. Then you must use a browser on a client
site. And Browsers do not support .NET
So your only choice is JavaScript....

For the server side .NET is perfect.
George.
"josh" <xd********@gmail.comwrote in message
news:e8**********************************@x41g2000 hsb.googlegroups.com...
On 22 Apr, 16:03, "George Ter-Saakov" <gt-...@cardone.comwrote:
>Why is there more that 1 brand of milk?
Cause people as a programmers are different.

Also .NET is server side programming, YUI, prototype is a client side
programming.
So they need to coexist. They serve different purposes.
You can not do shadow effect with .NET

yes they serve different purpose but with ASP.NET Javascript and
relative frameworks are not more useful. In fact the business logic
is made with ASP.NET and its event-driven model.

so I don't know which is the best, maybe ASP.NET shoud be used only
for
back-end operations (db access) while the UI management must be done
with a light Javascript framework

Jun 27 '08 #5
I've started using --only-- the CSS from the YUI. Very well done.

"George Ter-Saakov" <gt****@cardone.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Why is there more that 1 brand of milk?
Cause people as a programmers are different.

Also .NET is server side programming, YUI, prototype is a client side
programming.
So they need to coexist. They serve different purposes.
You can not do shadow effect with .NET

The AJAX library is a (somewhat) replacement for YUI,.... And it coexist
with .NET natively. So you might think about using it instead of other
JavaScript libraries.

George.

"josh" <xd********@gmail.comwrote in message
news:79**********************************@y21g2000 hsf.googlegroups.com...
>Hi,

I have a simple question:

If with ASP.NET model I can program almost every HTML element how if
had a framework object
(as if I programmed a Win application: event-driven)

why are there javascript framework libraries like YUI, prototype,
elaJa etc., that allow to
program the UI and that some of them have also effects, drag&drop etc?

So my doubt is should I use ASP.NET only for back-end and programs UI
with Javacript frameworks?

Maybe are the web programmers splitted in two development directions?

Thanks

Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: nobody | last post by:
This article is posted at the request of C.W. Yang who asked me to detail my opinion of Lisp, and for the benefit of people like him, who may find themselves intrigued by this language. The...
0
by: John Davis | last post by:
I always heard the term "data/database driven programming" model in ASP database, SQL programming, and web programming circles. But I don't quite sure what does it mean? Does it mean the web...
65
by: Roger Smythe | last post by:
A means for the progressive decomposition a problem space into increasingly simpler component parts such that these component parts represent higher levels of conceptual abstraction, and are...
34
by: Pmb | last post by:
Hi. I'm new to this group. I'm refreshing/learning C++ and am starting to learn Object Oriented Programming (OOP). In discussing this with people I came up short as to what the benefits of OOP are....
18
by: Frankie | last post by:
I have been hired to go to a former client of mine and train their staff programmers on ASP.NET. These guys have only Mainframe, MS Access, SQL Server, and VB6 desktop application development...
4
by: Richard Blackwood | last post by:
Hello all. I have a few questions about simulation programming. One, do all programmers know to how to code a simulation? By simulation I mean a model of real world relationships (i.e. like...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
3
by: =?Utf-8?B?bWs=?= | last post by:
Hi everyone, I need to refactor some of our processes using the asynchronous programming model. I have defined a couple of arrays of delegates to pipline the asynchronous invocations through...
1
by: COOLRUNNER | last post by:
Hi all, I'm new to all all this Socket Programming. I did a client server model, between my embedded hit and a pc. However I wanna know something more. What exactly happens in the hardware,...
22
by: SETT Programming Contest | last post by:
The SETT Programming Contest: The fastest set<Timplementation Write the fastest set<Timplementation using only standard C++/C. Ideally it should have the same interface like std::set. At least...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.