MySQL Database Handling in PHP

Most interactive websites nowadays require data to be presented dynamically and interactively based on input from the user. For example, a customer may need to log into a retail website to check his purchasing history. In this instance, the website would have stored two types of data in order for the customer to perform the check – the customer’s personal login details; and the customer’s purchased items. This data can be stored in two types of storage – flat files or databases.

(more…)

Posted under Learning by Lie Fung on Friday 26 February 2010 at 11:04 pm

Developing State-enabled Applications With PHP

Installment 1

Developing State-enabled Applications With PHP

When a user is browsing through a website and is surfing from one web page to another, sometimes the website needs to remember the actions (e.g. choices) performed by the user. For example, in a website that sells DVDs, the user typically browses through a list of DVDs and selects individual DVDs for check out at the end of the shopping session. The website needs to remember which DVDs the user has selected because the selected items needs to be presented again to the user when the user checks out. In other words, the website needs to remember the State – i.e. the selected items – of the user’s browsing activities.

(more…)

Posted under Learning by Lie Fung on Wednesday 24 February 2010 at 11:09 pm

Things to Note when Designing

Home Page

Home page should clearly indicate what the site is about. Provide top level navigation on the first page, your logo, and tell to the visitor what he can found on your web site. Your home page should be informative, and should call your visitor on action. Home page is the place where the visitor decides what he will do, click on some of your links, or leave the site. If you have a discount, or if you offer some free service in attempt to make a contact with potential customers, make sure to provide link to that service on your home page.

(more…)

Posted under Learning by Lie Fung on Tuesday 23 February 2010 at 11:15 pm

Benefits Of CSS

What is CSS?

CSS is a simple file which controls the visual appearance of a Web page without compromising its structure. Using CSS we can control our font size, font color, link color and many other attributes on our web page. This will make our HTML code much more readable and the page size will be reduced.

(more…)

Posted under HTML by Lie Fung on Monday 22 February 2010 at 11:17 pm

Hexadecimal Color Notation on the Web

When designing elements for your webpage, you will often be called upon to specify a color. For example, the code for a span shown below specifies that the color of the text within the span will be yellow.

Text

(more…)

Posted under HTML by Lie Fung on Friday 19 February 2010 at 11:24 pm

Advantages of a Simple Design

Easily maintained

If a design flaw is found for a particular browser, it’s far easier to find and fix the problem in the HTML source of a simple design, compared to a complex one.

(more…)

Posted under HTML by Lie Fung on Wednesday 17 February 2010 at 11:36 pm

Optimal Website Design

The idea behind good website design is to offer your viewer a logical flow while making it interesting and easy to navigate.

Lead your viewers to the starting point and then direct them through your site without confusing them.

(more…)

Posted under Learning by Lie Fung on Monday 15 February 2010 at 11:30 pm

  • Page 1 of 2
  • 1
  • 2
  • >