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

Ignoring the ASP.NET conventions...

Is there any information out there on ignoring the desktop oriented
conventions of ASP.NET and developing web app's more in line with
traditional web app development. I need far more control over the x/
html output environment than ASP.NET is currently giving me (coming
from PHP + RoR background) - custom iteration over object groups,
inline controls within those iterators, linking *without* resorting to
client side javascript based form submission, "page as a single form"
desktop application method, mixing of html elements (form) to activate
server side alterations, altering information in the html head
section of a page directly (there's got to be a way to do this).

Anyone, help?

Jun 27 '07 #1
9 1202
"Aidy" <ai**@noemail.xxxa.comwrote in message
news:MN*********************@bt.com...
If only you spent as much time learning as you did ranting.
This isn't the first person I've encountered who thinks they're a bit of a
whizz with "traditional" web development, only to find that ASP.NET and the
Framework represents a *huge* learning curve... Most simply knuckle down and
get on with it, but occasionally some do give up because it's too hard for
them...
>The approach is driving me nuts, because of this drag and drop,
wysiwyg

I don't use the drag and drop wysiwyg and I'm sure more regular posters on
this site are the same.
I certainly never use it...
Just cos MS give you a tool doesn't mean you *have* to use it.
Indeed. Two areas of functionality in ASP.NET which I *never* use are
validation controls (I have my own set of JavaScript validation routines)
and SqlDataSource / ObjectDataSource (I have my own lightweight DAL)...
--
http://www.markrae.net

Jun 27 '07 #2
If only you spent as much time learning as you did ranting.
I'm yet to find any instance of a iterators for output code with the
level of dexterity I want
<asp:Literal ID="MyWebPage" runat="server">Generate your entire page
here</Literal>

That will let you do "old style" web development where you build up your
output as a concatinated string and dump it to the response stream. Your
code will, of course, be unmaintainable rubbish.
I don't want tables everywhere
So don't use them.
Again, I want to know why there is the reliance on client side
javascript to activate forms all the time
There isn't, you can disable autopostback (see first comment in this post).
Also, who in their right mind made an x/html element a
backend control element (the form runat="server") when semantically
forms (plural *or* singular) may not be needed on the page.
So don't include one. Only certain elements must be inside a FORM. If your
control isn't a form control it can sit outside a FORM. VS just adds the
FORM element for you as part of the default page, there is nothing stopping
you removing it (see first comment in this post) or adding more yourself
(although you can only have one that has runat="server")
..
ASP.NET terminology is not designed for the web at all
That's the desired affect. It gives desktop programmers a consistant
environment where they needn't learn the ins and outs of HTML and how the
web works. If, however, you *do* know the ins and outs that is an
advantage.
The approach is driving me nuts, because of this drag and drop,
wysiwyg
I don't use the drag and drop wysiwyg and I'm sure more regular posters on
this site are the same. Just cos MS give you a tool doesn't mean you *have*
to use it.
but if you want something slightly beyond simple tabular
data, or the occasional repeater, and keep code easily understood and
maintainable it seems like the effort required is phenomenal, even for
simple things
I disagree. Now why don't you use classic ASP or PHP and leave this forum
for people who want to move as technology moves?
Jun 27 '07 #3
--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
Printing Components, Email Components....ALL made in TAIWAN!

--

Sorry...had too :P Doesn't really come out the way it does in 'Armageddon'
(the movie).

Mythran
Jun 27 '07 #4
"Mythran" <ki********@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Sorry...had too
'had too' ???
--
http://www.markrae.net

Jun 27 '07 #5


"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:#1**************@TK2MSFTNGP05.phx.gbl...
"Mythran" <ki********@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Sorry...had too

'had too' ???
--
http://www.markrae.net
Yeah, it's from the movie 'Armageddon'. The russian guy says, "American
components, Russian components, ALL MADE IN TAIWAN..then continues to beat
on the Taiwan made American components... :)

Mythran

Jun 27 '07 #6
"Mythran" <ki********@hotmail.comwrote in message
news:uK**************@TK2MSFTNGP04.phx.gbl...
>>Sorry...had too

'had too' ???
--
http://www.markrae.net

Yeah, it's from the movie 'Armageddon'. The russian guy says, "American
components, Russian components, ALL MADE IN TAIWAN..then continues to beat
on the Taiwan made American components... :)

Yes, I understand that, but what do you mean by "had too"...?
--
http://www.markrae.net

Jun 27 '07 #7
In article <Og**************@TK2MSFTNGP02.phx.gbl>, Kevin Spencer
<un**********@nothinks.comwrites
>The fact that there are many ignorant people asking questions in these
newsgroups is simply due to the nature of the newsgroups.
I presume your use of the word "ignorant" here refers simply to a low
level of knowledge, and was not meant in an insulting manner. Many of
the people that ask questions here are highly intelligent, and are
attempting to research the topic. Just because they don't have the
knowledge or experience of the subject matter does not make them
ignorant in the derogatory sense of the word.

My apologies if you meant this in the first place, but I don't want any
newbies reading this and thinking they're going to be treated like
stupid idiots just for asking basic questions.

Ta ra

--
Alan Silver
(anything added below this line is nothing to do with me)
Jul 2 '07 #8
"Alan Silver" <al*********@nospam.thanx.invalidwrote in message
news:xK**************@nospamthankyou.spam...
Do you have any more info on this? I would be very interested in
standards-friendly controls, as I have had to rewrite some stuff myself to
get around MS' love of table-based layout.
http://www.asp.net/cssadapters/
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 2 '07 #9
In article <uY**************@TK2MSFTNGP05.phx.gbl>, Mark Rae
<ma**@markNOSPAMrae.netwrites
>"Alan Silver" <al*********@nospam.thanx.invalidwrote in message
news:xK**************@nospamthankyou.spam...
>Do you have any more info on this? I would be very interested in
standards-friendly controls, as I have had to rewrite some stuff
myself to get around MS' love of table-based layout.

http://www.asp.net/cssadapters/
Thanks, that's great ;-)

--
Alan Silver
(anything added below this line is nothing to do with me)
Jul 2 '07 #10

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

Similar topics

4
by: vegetax | last post by:
in python it is common to see naming inconsistencies ,methods,modules,packages,classes with names in every posible style: thisisalongmethod ThisIsALongMethod thisIsALongMethod...
4
by: Cristof Falk | last post by:
I wanted to get a feel. The documentation gives naming conventions for public/protected members. Is this truly widely adopted? And what about using the same conventions for private members and...
7
by: cmiddlebrook | last post by:
Hi there, I keep finding myself getting inconsistent with naming conventions for things like member variables, class names etc and I just want to find something that suits me and stick to it. I...
1
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and...
7
by: Ralph Lund | last post by:
Hi. I am starting a new project with C#. I am searching for "good" coding conventions. I know that there are some coding conventions from microsoft, (but they are very extensive and not clear)....
4
by: Mark Broadbent | last post by:
stupid question time again to most of you experts but this is something that continually bothers me. I am trying to get into the habit of naming variables and controls in an assembly as per...
3
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and...
5
by: rastaman | last post by:
Hi all, I know of the existence of Object Naming Conventions for Visual Basic 6. Now I'm reading some books about VB .NET, but the names used for the objects are button1, picturebox1, etc. I...
1
by: Philipp Post | last post by:
Marcello, Not a big surprise as naming conventions have a lot to do with personal prefernces. There are a lot of threads in comp.databases and the other database groups. Just do a search for...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.