Thursday, August 25, 2011

Web-Engine [WE 1.0.0] Maintenance

The Web Engine is being created for the Pokemon website and has been in the makings for two days now. The engine is to make maintaining a website extremely easy but is being very very closed source, meaning the code that goes into making the engine is very secretive, for now. Soon after the engine is completed i will make a "plug-in engine" which will consist of just plugging into your website so everyone can have an engine and making having a website so much easier.

Included in the current Web-Engine:
     -A complete maintenance variable. I've created a variable on every page with PHP that i can go into the engine, change my $complete_maintenance equal to true and bam, the entire website is under maintenance.  The variable sends every page to a maintenance page that says:
This website is under construction
Please come back in: 45 minutes
now don't make the same mistake i almost did, i created a maintenance variable for just the homepage, thinking that when people go to my website, they will be directed to the maintenance page above. BUT they can simply go to another page and access everything but the homepage. So make sure you create the variable on EVERY page. When the website is not under construction, the variable is equal to false. In just 10 seconds you can down the whole website, and the beauty of it is that no one can see your code if they right click on your web pages and do "view source code" because PHP doesn't show up so they wont know your secrets and how you run your websites. Now the "website is under construction" and the time that is displayed is completely customizable to say whatever you want and set whatever time you want to show. Every website should have an engine and one that is created JUST for your website is the perfect kind.

No comments:

Post a Comment