Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Code Behind - who uses it?

Reply
Thread Tools

Code Behind - who uses it?

 
 
farseer
Guest
Posts: n/a
 
      08-06-2006
Hi,
i was in the book store this weekend checkingout some ASP.NET books. I
noticed that many do not use the "new" code-behind model much. Why is
this?

What do you ASP.NET developers use and why?

thanks much.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?TXVoYW1tYWQgTW9zYQ==?=
Guest
Posts: n/a
 
      08-06-2006
To code behind or not, it is the same when it comes to performance.
But I think most of web developers prefer to use code behind, because they'd
like to separate code from presentation, so designers can work with aspx and
code developers work with vb or cs.
Also this made your project much easier to navigate and work with.
Books my refere to inline coding just for simplification, and in later
chapters they should mention the code behind technique..
any way, this is only reflect my idea and opinion
Regards,
--
Muhammad Mosa
Software Engineer & Solution Developer
MCT/MCSD.NET
MCTS: .Net 2.0 Web Applications
MCTS: .Net 2.0 Windows Applications


"farseer" wrote:

> Hi,
> i was in the book store this weekend checkingout some ASP.NET books. I
> noticed that many do not use the "new" code-behind model much. Why is
> this?
>
> What do you ASP.NET developers use and why?
>
> thanks much.
>
>

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      08-07-2006
Based on my own experience, if I want a single - file page that is easy to
show as an example, that is usually when I use inline server-side <script>.
So it makes sense possibly for a book, and also because in the early days of
..NET the original ASP.NET developers came from the classic ASP space where
there is no such thing as "Codebehind". In fact, the original IBuySpy
reference app was written in all inline code with no codebehind files.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"farseer" wrote:

> Hi,
> i was in the book store this weekend checkingout some ASP.NET books. I
> noticed that many do not use the "new" code-behind model much. Why is
> this?
>
> What do you ASP.NET developers use and why?
>
> thanks much.
>
>

 
Reply With Quote
 
farseer
Guest
Posts: n/a
 
      08-12-2006
i am all of the separation of code from presentation...my biggest gripe

however is that it's not like the old days when you can make changes on

the fly if needed. Now, for any change that you need to make, you must

recompile the distributable dll and re-publish your web-site. That to
me is a bit discouraging as compared to code that is actually embedded
in a single file and compiled ont he fly (like JIT).


Peter wrote:
> Based on my own experience, if I want a single - file page that is easy to
> show as an example, that is usually when I use inline server-side <script>.
> So it makes sense possibly for a book, and also because in the early days of
> .NET the original ASP.NET developers came from the classic ASP space where
> there is no such thing as "Codebehind". In fact, the original IBuySpy
> reference app was written in all inline code with no codebehind files.
> Peter
>
> --
> Co-founder, Eggheadcafe.com developer portal:
> http://www.eggheadcafe.com
> UnBlog:
> http://petesbloggerama.blogspot.com
>
>
>
>
> "farseer" wrote:
>
> > Hi,
> > i was in the book store this weekend checkingout some ASP.NET books. I
> > noticed that many do not use the "new" code-behind model much. Why is
> > this?
> >
> > What do you ASP.NET developers use and why?
> >
> > thanks much.
> >
> >


 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      08-12-2006
"farseer" <> wrote in message
news: oups.com...

>i am all of the separation of code from presentation...my biggest gripe
> however is that it's not like the old days when you can make changes on
> the fly if needed. Now, for any change that you need to make, you must
> recompile the distributable dll and re-publish your web-site. That to
> me is a bit discouraging as compared to code that is actually embedded
> in a single file and compiled ont he fly (like JIT).


You can't possibly be serious...???


 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      08-12-2006
This isn't a valid comparison. The "old days" (classic asp) was interpreted
code. This is compiled code. My suggestion: "get over it!".
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"farseer" wrote:

> i am all of the separation of code from presentation...my biggest gripe
>
> however is that it's not like the old days when you can make changes on
>
> the fly if needed. Now, for any change that you need to make, you must
>
> recompile the distributable dll and re-publish your web-site. That to
> me is a bit discouraging as compared to code that is actually embedded
> in a single file and compiled ont he fly (like JIT).
>
>
> Peter wrote:
> > Based on my own experience, if I want a single - file page that is easy to
> > show as an example, that is usually when I use inline server-side <script>.
> > So it makes sense possibly for a book, and also because in the early days of
> > .NET the original ASP.NET developers came from the classic ASP space where
> > there is no such thing as "Codebehind". In fact, the original IBuySpy
> > reference app was written in all inline code with no codebehind files.
> > Peter
> >
> > --
> > Co-founder, Eggheadcafe.com developer portal:
> > http://www.eggheadcafe.com
> > UnBlog:
> > http://petesbloggerama.blogspot.com
> >
> >
> >
> >
> > "farseer" wrote:
> >
> > > Hi,
> > > i was in the book store this weekend checkingout some ASP.NET books. I
> > > noticed that many do not use the "new" code-behind model much. Why is
> > > this?
> > >
> > > What do you ASP.NET developers use and why?
> > >
> > > thanks much.
> > >
> > >

>
>

 
Reply With Quote
 
Dave Johnson
Guest
Posts: n/a
 
      08-12-2006
i think you are correct muhammed, anyway i wanted to ask you where to
take the MCTS course in egypt, thnx

Sharing makes All the Difference

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-code behind to code behind John ASP .Net 2 02-19-2007 07:08 PM
what is the difference between code inside a <script> tag and code in the code-behind file? keithb ASP .Net 1 03-29-2006 01:00 AM
Code-Behind Pain in the Behind! Daniel Manes ASP .Net 11 06-10-2005 09:47 PM
Fire Code behind code AND Javascript code associated to a Button Click Event =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?= ASP .Net 4 02-11-2004 07:31 AM
Re: Code Behind vs. no code behind: error Ben Miller [msft] ASP .Net 1 06-28-2003 01:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57