|
just another regularban.info web blog |
| MEMBERS: | Website Optimization - Site Working Okay?
How's your website, then? I'm not asking whether it's a good site or not, but what its performance is like. Is it slow to load? Does it have problems with certain web browsers? Occasionally you'll find that code working perfectly on, say Internet Explorer, doesn't work with Firefox. And vice-versa. Any coding problems? How should I know? Who... who cares? I hear you ask. Because it's important. You only have seconds -- tenths of seconds, even -- to make an impression on people who come to your site. If the site isn't working, has dead links or some old code that doesn't work and leaves the site with blank areas, you can bet your life those lovely, potential customers will click away at the drop of a pixel. And more than likely they'll be clicking away to the welcoming site of one of your competitors. Wake up and smell the Mugicha! After reading this post you no longer have any excuses for not knowing. There's a website I often turn to when I want to see how my own site is doing, performance-wise. It makes for uncomfortable reading sometimes, because it doesn't hesitate to tell me stuff I don't particular want to hear -- the site's too heavy, too many images, too many elements, you've failed at life, you're a bad, bad person... et depressing cetera. But it's well worth it. I have no connection whatsoever with the owners of the site and this isn't an affiliate link, so click in confidence. Here it is: http://www.websiteoptimization.com/services/analyze/ Put in the full address of your website and have a look at what it says. Pretty eye-opening stuff, eh? You didn't realise it was that bad, did you?! I'm not particularly interested in contacting the owners of the site to ask for their optimization services, but the results I get when I check my site are very interesting. Useful, too. Oh, and completely free. Check it out.
Popular Free CMS For Managing Your Website
For better managing your custom design website, there are two types of Content Management Systems that you can choose from: the paid CMS and the open source CMS that you can have for free. There isn't necessarily any best CMS in the online world today, there are only popular Content Management Systems. Here are some of them:
Drupal would seem to be one of the more advanced open source CMS available for download today. Being open source, thousands of people contribute to its development, and you will find no trouble at all finding a web programmer who knows Drupal, or finding a community of programmers who can troubleshoot your Drupal CMS just in case.
Mambo is another popular open source CMS that is free for downloading and extremely easy to set up. Its main edge is that its system is scalable and you can actually incorporate it into the whole spectrum of custom web site design - from the really simple sites to the large company-owned sites. You can use Mambo to manage your advertisements or syndicate your content, among other things.
Typo 3 is another of those open source systems, although it is designed more for enterprise-level applications like corporate intranet. It addresses issues like branding, version control and maintaining templates in an application. In choosing which content management system to incorporate to your website, regardless if it's free or open source, one of the key things to keep consider are your custom web design needs, and nothing else.
Reusing Code in Web Sites and Applications Part 1 - Using Include() and Require()
Reusing pieces of HTML code is a common way of making web sites (or web applications) more consistent, reliable, and more manageable. Even a small web site consisting of perhaps 20 or 30 web pages can benefit from reusing code for header and footer sections, for example. If the same header or footer is used across all the pages on the site, it makes sense to put the header and footer code in separate files, and then call those files to insert their contents where required. PHP offers two statements that can be used for inserted the contents of one file inside another: include() and require(). These two statements are virtually identical, with the only real difference being that if require() fails, it gives a fatal error, whereas if include() fails it just gives a warning. For this reason I tend to use the include() statement as it just seems slightly more friendly. So, to include the contents of a file called header.inc inside a web page called index.php, you would just need to insert the following line of code (wrapped in PHP opening and closing tags) inside index.php. Include 'header.inc'; As PHP takes no notice of the extension used for the included file, you can use whatever extension you want to. Be careful though, if you put passwords inside an include file with a .inc extension, they will be visible. You can get around this by putting include files that contain sensitive information outside the document tree to prevent people from browsing to them. In Part 2 we'll look at the use of functions when developing web sites and applications.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |