473,396 Members | 1,886 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,396 software developers and data experts.

Problems with drag and drop ASP.NET 2.0 applications?

Dear ASP.NET programmers,

I have noticed many asp.net 2.0 programmers mention that web
applications created with the use of Visual Studio wizards and by
draging and droping fom the toolbox are unstable/unmaintainable (or not
enterprise ready). I'm sure I understand this. Isn't the code created
by these wizards exactly the same code that one would have to implement
manually? Shouldn't both ways yield the same (or at least similar
results). Thank you for your help.

Regards,

Jim Light

Mar 28 '06 #1
2 1507
Anybody? Please?

Mar 28 '06 #2

de*******@yahoo.com wrote:
Anybody? Please?


Why not, I'll give this one a go - if anyone wants to shoot my
assertions down, all flames are gratefully received.

The drag 'n drool controls for ASP.Net make building quick web sites
really really simple. You get a display component, you hook it up to a
SQL query and It Just Works.

The problem is that mixing UI code with data access code is universally
decried as A Bad Thing. Separating your application into discrete
layers, or chunks of functionality makes maintenance and improving the
code much much easier; take this from someone who has just gone insane
retrofitting a large feature to an existing web app.

Example: Google "GridView Insert" and you'll find a whole bunch of
weird and wonderful workarounds for making a GridView insert data as
well as edit data; most of these involve showing and hiding footers
(what if the footer is in use?) and creating empty rows that never get
shown to the user.

Because I'd got a sensible architecture and was binding my controls
directly to collections which I grabbed from the data layer, I had much
more control over the display and function of my GridView and didn't
have to use such bizarre kludges.

Additionally, the data access methods promoted by the Drag/Drop
technique are very inefficient in comparison with the code that you
could write by hand.

None of this should put you off using the WYSIWYG if you just want to
knock out a simple website, but if you're building anything
complicated, or performance is important to you, write your code by
hand and write it properly.

The problem with It Just Works is that sometimes It Just Doesn't Do
What You Want It To.

Mar 28 '06 #3

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

Similar topics

42
by: Steven O. | last post by:
I am seeking some kind of tool that I can use for GUI prototyping. I know how to use Visual Basic, but since a lot of software is being coded in Java or C++, I'd like to learn a Java or C++ -based...
8
by: Marc | last post by:
Hi all, I was thinking about developing a drag and drop application and was curious how difficult it is to do. Basically I want to have a set of objects that I move around the screen and drop...
6
by: Colin Young | last post by:
I've got a owner-drawn listview control that displays images and now I'm trying to implement drag and drop so I can drag images from the control and drop them onto other applications. So far if I...
2
by: matthewmacchia | last post by:
I believe this is a Firefox bug but I was hoping someone found a workaround. I have implemented drag and drop functionality, but if I try to drag an element from a div that happens to have a div...
5
by: Clyde | last post by:
I am trying to implement the user feedback provided by Windows Explorer when draggng a filename from one place to another. I have the drag and drop action worked out but have had no luck in...
4
by: Dave | last post by:
I need to add the ability to drag from a Windows Form and drop into a non dotNet application. For example, having a generated image in my app that I wish to drag out into explorer as a friendly way...
1
by: Kevin Henkener | last post by:
I would like to be able to drag-n-drop System.Windows.Forms.TreeNode objects between two different applications (actually the same application, just two instances of it) in C#. I've seen posts in...
4
by: stef | last post by:
hello, I'm trying to move from Delphi to Python (move from MatLab to Python already succeeded, also thanks to this discussion group). From the discussions in this list about "the best" GUI for...
0
by: pavanip | last post by:
Hi, I am new to Silverlight Applications. I created one media player control to play video in asp.net website.I want to drag and drop that media player control to desired place when we run the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.