CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_cold_fusion_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 2/11/2005 9:00:14 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 48 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
HardKor
Asp.Net User
logic separate from presentation2/11/2005 9:00:14 PM

0/0

Hi all..

New user here.. first post : )

So I was reading that one advantage of using ASP.NET is that it separates application logic from presentation HTML, is this always true? For instance, in Cold Fusion, lets say I want to omit a link on a page if a certain url variable is defined, normally I would code this directly in with my HTML, so that being the case, would ASP.NET not let me do this since it supposedly makes you separate application logic from presentation HTML?

Thanks
Error: Keyboard not found, press any key to continue.
mssnare
Asp.Net User
Re: logic separate from presentation2/12/2005 6:25:19 AM

0/0

Hello and Welcome!

ASP.NET does allow you to place code inside of the html like ColdFusion. However, with the CodeBehind model that ASP.NET uses then you do not have to place the logic of displaying the link in the HTML rather you can place it in the code behing the page that is separate from the HTML. This allows the designers to work in the HTML without having to look (or even know about) the logic behind the page.

Good Luck.
HardKor
Asp.Net User
Re: logic separate from presentation2/12/2005 7:56:38 PM

0/0

Hi mssnare, thanks!

I recently purchased ASP.NET Unleashed per recommendation from these forums, I've skimmed through the book and I think most my questions should be answered by the time Im done reading it (as im unfamiliar with the concept of code behind)

I assume you have some history with Cold Fusion, just curious, how long have you been developing with both languages? CF and ASP.NET?

For some reason, I feel a bit uneasy with the whole concept of logic separate from presentation, to me it seems like you would have more control over the aesthetics of a page when intermixing the two, what do you think?

Thanks!
Error: Keyboard not found, press any key to continue.
mssnare
Asp.Net User
Re: logic separate from presentation2/13/2005 4:43:22 AM

0/0

Hello,

No problem. I have been working with CF for a little over 6 years and with ASP.NET for about 3.

I usually separate all code from the html but sometimes it makes a little more sense to me to put some code in the html. I usually try and look at it like if the code in the html is very minor and the web designer editing the HTML can modify the code without effecting any business logic then it is safe to put it in the html. For instance if I'm displaying one image on mondays but another image on tuesdays then the code that displays the image would probably be in the html. Because even if the designer modifies the code then the only thing effected is the UI.

Good luck with the book!

James
HardKor
Asp.Net User
Re: logic separate from presentation2/13/2005 7:50:13 AM

0/0

Hi James,
Upon further reading, I think I can use inline code and inline expressions for what I want to accomplish. I think I was under the impression it was all or nothing but that doesnt seem to be the case :)

By the way, do you know exactly how long ASP.NET (not ASP) has officially been out?

Thanks!
Error: Keyboard not found, press any key to continue.
mssnare
Asp.Net User
Re: logic separate from presentation2/13/2005 10:07:44 PM

0/0

I do not know exactly how long ASP.NET has been out. I first started looking at it in 2001.

James
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Refactoring: Improving the Design of Existing Code Authors: Martin Fowler, Kent Beck, John Brant, William Opdyke, Pages: 431, Published: 1999
Analysis Patterns: Reusable Object Models Authors: Martin Fowler, Pages: 357, Published: 1997
Pro Apache Struts with Ajax Authors: John Carnell, Rob Harrop, Kunal Mittal, Pages: 502, Published: 2006
Pro JSP 2 Authors: Simon Brown, Sam Dalton, Daniel Jepp, Kevin Mukhar, Dave Johnson, Sing Li, Matt Raible, Pages: 728, Published: 2005
Beginning Visual Basic 2005 Databases Authors: Thearon Willis, Pages: 736, Published: 2006
Web Services: Concepts, Architectures and Applications Authors: Gustavo Alonso, Fabio Casati, Harumi Kuno, Vijay Machiraju, Pages: 354, Published: 2004
.NET & J2EE Interoperability Authors: Dwight Peltzer, Dwight Eugene Peltzer, Pages: 287, Published: 2003
Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam Authors: Bryan Basham, Kathy Sierra, Bert Bates, Pages: 879, Published: 2008
Designing Enterprise Applications with the J2EE Platform Authors: Inderjeet Singh, Beth Stearns, Mark Johnson, Pages: 417, Published: 2002
Professional ASP.NET 2.0 Authors: Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader, Pages: 1253, Published: 2005

Web:
logic separate from presentation - ASP.NET Forums For some reason, I feel a bit uneasy with the whole concept of logic separate from presentation, to me it seems like you would have more ...
This Code Goes to Eleven: Keep Presentation and Logic Separate! Keep Presentation and Logic Separate! Update: One of my commenters dedicated an entire blog post on attacking this technique, prompting me to write this ...
Separation of Business Logic from Presentation Logic in Web ... Jul 19, 2003 ... Why should we separate Business Logic from Presentation Logic. There are several reasons why separating business logic from presentation ...
Experiences of Using PHP in Large Websites Introduction; Separation of Presentation from Business Logic ... In some cases, it may even be possible to put the two parts of the page in separate files. ...
Separate Logic / Presentation without Templates - SitePoint Forums Separate Logic / Presentation without Templates PHP Application Design.
Separated Presentation Ensure that any code that manipulates presentation only manipulates presentation , pushing all domain and data source logic into clearly separated areas of ...
Separate content from presentation with XSLT, SimpleXML, and PHP 5 Oct 7, 2008 ... This tutorial is for Web application developers looking to separate data and business logic from presentation logic. ...
Separated Presentation Separate the presentation logic from the business logic into different artifacts . The Separated Presentation pattern can be implemented in multiple ways; ...
Best way to separate Business from Presentation Logic? - Stack ... My first thought was to create an interface that would have all the methods that will be needed by the GUI for the business logic and then have a network ...
jGuru: How do I separate presentation (HTML) from business logic ... Question, How do I separate presentation (HTML) from business logic (Java) when using servlets? Topics, Java:API:Servlets:Architecture and Design ...

Videos:
CIMG1089.MOV Now for a short word on what Smarty does NOT do. Smarty does not attempt to completely separate logic from the templates. There is no problem ...
CIMG1087.MOV More specifically, it facilitates a manageable way to separate application logic and content from its presentation. This is best described in a ...
Structuring Personal Information When Everything Can Be Saved ... Google TechTalks May 17, 2006 William Jones William Jones is an Research Associate Professor in The Information School at the University of ...
Computers versus Common Sense Google TechTalks May 30, 2006 Douglas Lenat Dr. Douglas Lenat is the President and CEO of Cycorp. Since 1984, he and his team have been ...
Core Patterns for Web Permissions Google TechTalks July 19, 2006 Tyler Close Visiting Scientist Hewlett-Packard Laboratories Mr. Close is a researcher and developer ...
Web Applications and the Ubiquitous Web Google TechTalks February 1, 2006 Dave Raggett Dave Raggett is currently a W3C Fellow from Canon, and W3C Activity Lead for Multimodal ...
Affiliate Summit 2006 East -- Blogging Best Practices ... Blogging guru Dave Taylor will take you on a controversial and entertaining tour of blog technologies, explain which are considered "critical" by ...
Lucky Number Seven 777 פלאי השבע 7 Lucky Number Seven !!! פלאי השבע english subtitle הופעת המספר 7 פעמים כה רבות ביהדות ובבריאה, מעוררת השתאות. מהו סודו של ה-7 ? הכיצד יתכן ...
Santa Monica Council Meeting Santa Monica Council Meeting




Search This Site:










how do you do query of queries (qoq) with asp.net/ado.net?

whats better? coldfusion or visual studio.net & asp.net ??

specification for cfm to .net migration

cold fusion can do it! how can i get vb to do it?

getting inforamtion from coldfusion pages in asp.net page

dumb, simple cf to asp.net questions.

questionnaires

decrypting passwords encrypted using cold fusion encrypt

querystring request equivalent in asp.net 2.0

coldfusion connections to msssql vs. asp.net 2.0 to mssql

asp.net vs coldfusion

asp vs cf

logic separate from presentation

asp.net pls

who is ben forta's asp.net?

event calendar

changing coldfusion queries to store procedures

recordcount

treeview navigateurl

cold fusion to asp.net

testing cold fusion

coldfusion refindnocase

<cfoutput> group attribute

asp to clear cache?

coldfusion site navigation.... how do i do this in asp.net?

cfm variable to asp variable

tips n tricks

coldfusion vs asp

basic needs to make the transition from cf to .net

three selects lists (dropdowns) related

  Privacy | Contact Us
All Times Are GMT