|
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
ABC's of Web Development
Here are the simple ABC's of web development. A. Graphics Graphics is very essential in web development because this is what visitors gauze your site if it is worthy of their time. So what really makes a graphic to be effective? First, the graphic should be small. Consider using images that are 10 to 12 KB per image because if you will use larger images, it will slow down your site. Visitors to your site will likely to leave if your site takes too long to display so it is better that you use images that are attractive and easy to load. Second, when it comes to graphics, you have to use images that have direct relation to your site. You would not display an image of Hollywood artist to promote the product you are selling, as this will cause confusion to your visitors. Lastly, blinking graphics are not ideal in web development because blinking objects are really annoying and distract readers. More often readers leave web sites with excessive flash or blinking objects most especially when these objects hinder them from reading the whole web page. B. Advertising Advertising is lifeline of web sites and you have to handle them effectively to ensure success of your site. When in comes to advertising, you have to remember two things, the number of ads and how related it is to your site. The number of ads should be just enough to give room to other contents of your site. If they are overlapping contents of your site, then maybe that is why your site lags behind in web searches. Next, you should only post ads that related to products or services offered. If they are related, your readers will likely to open the links to your ads but if they are not related the ads might not be opened. In the end ads generate income but if they are driving your visitors away, then maybe its time to remove some of your ads and just stick the ones that are related to the content of your site. C. Web Content Content is also another essential factor in success of your site. It will be better if you have articles that your visitors can read on a daily or almost weekly basis. Informative content will likely to increase your visitors as they will bookmark your site and then send your links to other friends and family members to invite them to visit your site as well. But for others to recommend your site, you really have to offer not just ads or graphics but rich and informative content. For example, you are selling a product, it will be better if the site not just offer the products but also give tips on "how to-" like how to choose, how to use and where to buy. Meanwhile, if you are maintaining a web blog, make sure that the site is readable and the topics being discussed are really interesting.
Is Your Website Too Generic?
So you managed to get a website up and working. You managed to set up a pay per click campaign. But you have not managed to get lots of buyers, callers, joiners, clickers or whatever it is you were after. You may even be advertising to a niche market, yet your website speaks to a general audience. If you try to be everything to every body these days and you will end up being nothing to anybody. So let's look at how you might make changes to your site to speak to a niche and get some conversions. News Flash. The general store can't compete with the amazons of the world. If you try all by yourself to compete with mega mart, you will get lost in the big black wormhole of the internet-- also known as the limp, lame, solitary server for misplaced website owners. That's why you choose a segment or a niche strategy. It offers you an opportunity to carve a market share out of that big giant pie. The trick is to identify the niche market or brand audience who will value the service or product enough to pay for it. How can you position to a primary target audience ? Don't shoot at the ocean hoping to hit a fish. You need to follow a plan or niche strategy to develop your website so it speaks to this primary target audience. A website is a marketing tool. So here is a brief outline regarding how you might go about the process of creating a well-positioned, marketing savvy website that is not generic. This is an extremely simplified website plan for positioning to a target audience but it outlines a process that you can follow.
Remember to write or use copy that does not focus on yourself or your company, but think strategically in terms of how your product(s), service or company benefits your target market. Then your website should guide them along the path to the action you wish them to take much like a live sales person would do. Plan your website well and it could become one of your least expensive and highest yielding marketing and sales tools.
|
* 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). |