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 -> PHP

 page generation aproaches and speed

Print topic Send  topic

Author Message
songohan

Posts: 89
Posted: 09/23/2008, 7:38 AM

I would appreciate your opinion on this:

When creating a site, in last few projects I used following approach:

I create index file as normal page. Header, footer and all other pages for main functionality are includable pages.

In index, I include header, footer and than use Panels with before show event that takes "page" parameter from url, checks against hardcoded value and decides which panel is to be shown.
Eg. each panel has code like this:
---------
if (CCGetFromGet("page", "") == 'portfolio')
$Component->Visible = true;
---------
All panels are hidden by default.


Now, do you think that this method will noticeably slow down page generation compared to using all pages as regular pages with just header and footer included without conditioning??

To me it seems like it is slower even on my local machine but also something else might be the issue.

What do you think about this approach in general?

Many thanx,

Andrej







View profile  Send private message
songohan

Posts: 89
Posted: 09/24/2008, 1:02 PM

no opinions?

everyone bussy with 4.1 testing? :)
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.