CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Code seperation

Print topic Send  topic

Author Message
Andrew7e

Posts: 1
Posted: 12/19/2005, 2:32 AM

Hi

I would like to know more about the mechanics of how you seperate code from the presentation layer in a web based application. I am looking at using Codecharge to do some work using PHP,
I have done all my previous codeing in ASP and a little bit in ASP.net. CodeCharge seperates
the code from the presentation layer, how does the webserver know to link the two pages
together and can this be created manually.

The Codecharge web site gives you no info on this technique. Any info on this or links to pages would help.

Thanks
View profile  Send private message
peterr


Posts: 5971
Posted: 12/19/2005, 3:03 AM

There may not be too much that can be described here. It's just the way of writing code. For example you can write ASP code that outputs a Web page via individual commans, like: Response.Write("<b>abc</b>")
While I can do this differently and create an HTML file/page/template that contains "<b>{Label}</b>" and then I can write my ASP code so that it reads that HTML template, replaces {Label} with "abc" and then I can output the whole HTML template to the Web browser using Response.Write(MyHTML). This is what CCS does in regards to ASP, PHP and Perl.
Actually ASP.NET also works in such way, since you can store just the HTML design in ASPX files and separately utilize server controls for coding.

I'm not sure if I understood the 2nd part of your questions but there shouldn't be a difference when linking pages together. The ASP/PHP script would need to display a link to another ASP/PHP script. When using templated approach such link can be a static part of the HTML template, or it can be inserted dynamically into the template.

BTW, templates are defined at http://docs.codecharge.com/studio3/html/UserGuide/TermsAndDefs.html
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.