ASP.Net Application
- Started
- Last post
- 15 Responses
- voiceof
My programmer and I are about to start building an application in asp.net, He's built a few small things, but never with a designer and never taking full advantage of CSS and I have no experience in it.
Anyone have links, examples suggestions, for best practices, how to separate code and content as much as possible etc..
Thanks
- trooper0
just think semantic and DONT USE GRIDVIEW as the code it outputs isnt semantic.
easy as that
- acescence0
really, the programmer shouldn't have to think about stuff like css, or anything to do with presentation for that matter.
for most web apps, i'll start by designing the database,
then write the code that provides an access layer to the database, handling all the escaping and building queries,
then i'll write the logic that does the heavy lifting of the app, which interfaces with the database layer to get the data, does whatever processing is necessary and hands off the data to the template,
the template is basically just my html/css/js/etc with the data inserted in the appropriate places.
- voiceof0
Thanks acescence, that sounds like what I thought it should be. When I was reviewing his code from older projects it seemed like there was a lot of extra code intertwined with the presentation. Maybe it was just easier that way when he wasn't worried about semantic mark up or updating the look etc...
Thanks everyone
- bezul5550
sherman, why should i use php? Both technologies are good; asp.net has native code and presentayion separation, you can separate code in php using smarty;
to voiceof:
tell your developer to use asp:Repeater control instead of datalist; datalist renders table as output, repeater repeats everything what you want;- Thanks, I just had a meeting with him and this is what he said he was going to do.voiceof
- bliznutty0
give this a read:
http://msdn.microsoft.com/en-us/…Proper use of themes, skins, and css will separate your code from layout and allow for different look & feel with little or no changes
- Yaff0
13 - have i killed it yet?
- madirish0
bezul555, is there a reason why someone should pay for the right to use a dynamic scripting language? one with no demonstrable benefits as a stand-along DSL, or when sitting atop a development environment that too must be paid to license.... and again has no ability to mod at the core (should one need to, but if you are paying to use it?.... oh right- you are paying to "use" it, not "own" it. right), and has admittedly shortcomings to scale at the rate/cost/power/elegance the OS software can.
thus, i can see many reasons to use PHP, let alone not use asp, or .net software. just my opinion, however.
- My work pays me to know enough about .NET to tell developers what to do. So I like it.flavorful
- clearThoughts0
I hate Microsoft but I do have to say that Visual Web Developer is pretty cool, considering it's free.
And .NET makes a lot of tasks pretty easy.I don't know if there are any similar IDE's for PHP - I guess Zend studio, but it's not free - is it?