|
just another regularban.info web blog |
| MEMBERS: | Php - An In-Depth Look
What is PHP? PHP stands for PHP: HyperText Preprocessor, it is a server-side scripting language, and as the name goes, it is to create dynamic and interactive Websites for your visitors. Maybe you currently make your Websites in HTML? HTML alone cannot create dynamic Web pages, HTML is clearly defined as a static language, as it is always static and mainly is used for structuring (or styling, in some cases) a document (or a Web page, if you like). What do we mean by server-side scripting? You may already know, but HTML is a client-side language, so the browser translates the HTML code into "bytecode" that the computer can understand, and so the computer translates bytecode into what we can clearly understand, text, for example. Server-side scripting is a little different, a little bit more added to the story. As with PHP, server-side scripting languages have an interpreter inside a machine, that translates the code (in our case, PHP code) to HTML code (that the browser can understand), and then the same process will take place with the browser translating the HTML code to bytecode, and so forth. With server-side scripting languages, you don't need anything adding to your browser or computer, as the interpreter inside the machine that hosts the particular Website does most of the work. What's the fuss with server-side scripting languages, then? The thing that makes server-side scripting a must nowadays is because it can generate dynamic Web pages, but what do we mean by dynamic Web pages? Well, imagine you wanted to start a forum, and you used HTML. Okay, you used a form to submit the data and it is sent to your e-mail address, and you have to edit the static Web page every time you want a new post added. That, to me, would be the most annoying job of creating a Website. However, with PHP (or any other server-side scripting language, for that matter), can be completely automated, and you'd not have to edit your file even once! The thing that PHP does, is sends the form data to a different page, saves it in "pre-defined" variables (things that store a value), and using something called a "while loop" that continually loops all the posts saved in the Web page - and that's it! PHP stores the posts in a MySQL database (something that holds data, if you like, like member accounts, etc) and uses that as long-term memory. But if we're talking about server-side scripting languages, what makes PHP different from the rest? Well, simply put, PHP is probably the best thing that has come into the server-side scripting genre. If you have heard about other scripting languages like Perl or ASP/ASP.NET, you'll come to find that they are extremely hard to learn from. Put it this way, the majority of Web developers that use ASP.NET, for example, are those who have come from a different programming background, like have known VBScript, or other languages that's in relation to ASP.NET, the same with Perl. The difference between PHP and the rest, is PHP is incredibly easy to learn, especially for the newbies towards this industry, and PHP has took several steps to ensure an easy introduction to those newbies to the world of programming. Let's do an example, lets see which is the easiest to understand, out of PHP, VBScript and Perl, by doing a simple "Hello World" program, that outputs text to a Web page: PHP: echo "This is some text that'll be shown in a Web page..."; VBScript/ASP.NET: Response.Write("This is some text that'll be shown in a Web page..."); Perl: #!/usr/bin/perl print "content-type: text/html nn"; print "This is some text that'll be shown in a Web page..."; Okay, now I am not going to say things like "well, obviously PHP is the easiest to understand" - as obviously, we all have different preferences, but what I can say is, that they all do the same thing. Which seems the most logical to you? In my opinion, the two most logical ones for me is PHP and VBScript/(ASP.NET). Now it's up to you which one you want to go ahead with, experiment which one is best for you, after all, we all have dfferent tastes. Good luck! Below are a few resources to get started with PHP: # - w3schools.com # - php.net # - mysql.com
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.
Preserving the Integrity of Your Flash Templates Before Use
If you have decided to use website templates to create your ideal website you have taken a step in the right direction. This is especially so if you don't want to spend thousands of dollars on custom templates and do not have the ability to create them on your own. Many people think that once they have the templates they are ready to roll, and you are in a certain sense. But, there are some things that you should do to make sure that you preserve the integrity of the template so you can use it again and again if needed. After You Purchase Your Flash Templates There are many sources for web templates and whether you buy them to install on your computer or you download them the very first thing that you should do is save them in their original format. So many people open the template and they are ready to jump right in and start designing their website right away that they don't take a moment to save the template the way it is. The reason that you want to save the template "as is" is because many who are new to working with templates end up hitting enter one too many times or they end up changing the font or changing the format of the page and they cannot get it back. It does take some practice to work with templates without disturbing their original integrity and if you know that you have the original template saved you don't have to stress out every time you distort the template somehow. The great thing is that a lot of the templates out there come with some basic directions. If this is the first time you will be using templates you should take a look at the instructions and see what you can learn from them. Many times simply glancing at the instructions before you dive right in will allow you to decipher between the different layers of the template so you are able to add text and images with ease. Slow Down and Then Begin Many people get their templates and they want to rush into building their website. Whether this is your first time using templates or building a website or the 10th you need to take a deep breath and then begin. If you rush into building your website you won't give it the attention that it needs and the quality will therefore be less than you had always imagined that it would be. If you slow down you will be able to give attention to the small details that really make a webpage functional and aesthetically pleasing. It doesn't matter what sort of webpage you are building, slowing down and preserving the integrity of the template is important so you can return to it again and again or avoid the frustration of trying to fix what has been distorted through the trial and error of using a website template in a rush.
|
* 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). |