The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page. CodeIgniter has a fairly loose approach to MVC since Models are not required. If you don’t need the added separation, or find that maintaining models requires more complexity than you want, you can ignore them and build your application minimally using Controllers and Views. CodeIgniter also enables you to incorporate your own existing scripts, or even develop core libraries for the system, enabling you to work in a way that makes the most sense to you. Figure 2: MVC Structure 3.3.5 Database model A database is a collection of data which is organized in such a way that its contents can easily be accessed and manipulated. At a simplest, a database arranges data in two dimensional matrices, i.e tables, each divided into rows and columns. Each row of each table comprises a data record, which may contain several fields of information. 3.4Client Side Scripting 12
Some Client Side Scripting languages are describing below: 3.4.1 Hyper Text Markup Language A basic HTML page is a little like a word-processing document—it contains formatted content that can be displayed on our computer, but it doesn’t actually do anything. An HTML document has two types of content: The text and The elements (or tags) That tells the browser how to format it. The elements are easily recognizable, because they are designated with angled brackets (<>). HTML defines elements for different levels of headings, paragraphs, hyperlinks, italic and bold formatting, horizontal lines, and so on. HTML forms allow web developers to design standard input pages. When the user clicks the Submit button on the page, all the data in the input controls is patched together into one long string of text and sent to the web server. On the server side, a custom application receives and processes the data. Amazingly enough, the controls that were created for HTML forms more than ten years ago are still the basic foundation that we’ll use to build dynamic PHP.NET pages! 3.4.2 Cascading Style Sheet There are three important tools these are: Styles Themes and Master pages CSS gives us a wide range of consistent formatting properties that we can apply to any HTML element. Styles allow us to add borders, set font details, change colors, add margin space and padding, and so on. The CSS standard is not a single, universal standard with complete commonality across all browsers. Instead, it exists in several versions (up to CSS3) and includes features that not all browsers support and features that browsers implement differently. Web pages can use styles in three different ways: Inline style Internal style sheet External style sheet CSS supports a feature it calls inheritance. With inheritance, some formatting properties (such as the font family) are passed down from a parent element to other nested elements. The CSS 13
Properties window provides an exhaustive list of all the formatting properties we can use in a style. This list is grouped into categories, and the properties in each category are sorted
You've reached the end of your free preview.
Want to read all 26 pages?
- Fall '13
- Web page, World Wide Web, Web server