Forum Moderators: open

Message Too Old, No Replies

Need an editor that can change many pages

at once. Looking to replace the way pages load

         

loanuniverse

1:17 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello everyone:

Maybe someone can help me make my website more responsive. In order to make my webpages easily updateable, I use “php includes” in all of my html files. This means that the common elements in each page. {top navigation bar}, {right navigation bar} and {footer} are put together by the server.

This strategy works great, but it does make the loading of the pages somewhat slow. As the number of pageviews and visitors increases, I am concerned that I might lose some visitors if the site is not responsive enough.

I am looking for an html editor that can automatically replace those {includes} with the actual code automatically. Taken into consideration that this will have to be done on hundreds of pages, it would be nice if this could be done without me having to go ahead and change them manually. I did something similar a year and a half ago when the site was only 100 pages and it was a pain.

Robino

1:28 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




I use EditPlus and it does that. I think most text editors actually do that. Dreamweaver too.

encyclo

1:35 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If your site is running slow because of a few PHP includes, you should consider changing hosts or upgrading your server. I've run some considerably more complex PHP scripts than simple includes with no apparent degradation in speed.

Perhaps your host has overloaded the server with too many sites to increase revenue and the performance is suffering? Of course, plain HTML files will always be quicker than dynamically-generated pages, but with any decent host the difference will be too small to notice unless your script is particularly complex, with multiple calls to a database, for example.

loanuniverse

2:05 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the advice guys. I am going to look around to see which editor will make the most sense. Once I have 2 or three choices, I might come back for more feedback.

Regarding my host, it might be a problem with their server as I have a similar setup in another site {hosted with another hosting company}, and the pages load 3 times as fast. Then again, my main site is five to ten times busier.

Robino

2:29 pm on Jul 20, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member




Then again, my main site is five to ten times busier.

Upgrade your server then.