Posts Tagged ‘CSS’

Building Dynamic Websites With PHP

July 26th, 2010

When using PHP web development there are two golden rules that you need to remember. PHP is a scripting language that is used for web development. PHP stands for hypertext preprocessor and PHP web pages can be used on almost all types of operating systems and platforms as almost all web servers are configured to use PHP code.

PHP scripting is used on Linux systems so you can save a lot of time and hassle by developing the code on a Linux system instead of converting the code from a Windows system. Linux is very versatile and you can run Linux on any type of system but there are some few differences that can make converting code and links from windows to Linux.

The big problem when not developing your page on a Linux system is the fact that Linux is case sensitive while Windows is not. This means if you have upper and lowercase letters in your links they might not work when you have transferred everything over to a Linux system or server. It will then take more time as you need to go through everything to fix the problem.

It can also save you a lot of time by using CVS or SVN. These programs will save the many different versions of your application or web pages so that you can access them if needed. For web development this is important as you will make changes that need to be erased.

Many times SVN is used when you have several different people developing the same site. This then will merge all of the work into one file so that you can see any issues or conflicts.

If you are just starting to use PHP to develop your web page then creating the application in the same environment as the web server can make the whole process a lot easier as can being able to access older versions of your web page.

If you would like to learn more about PHP AJAX training courses, visit Macresource Computer Training, an independent computer training company offering PHP AJAX Classes at their central London training centre.

Modifying Meta Tags In Design Mode In Dreamweaver CS5

July 13th, 2010

A web page consists of two main areas: the head and the body. The body contains all of the elements which will be displayed in the browser window and the majority of which will be visible to the user. The head element, by contrast, contains information about the web page; meta information as it is sometimes called. In this article, we will look at the different ways in which Dreamweaver allows you to modify elements within the head of a web page, beginning with the title.

The title element should contain a broad description of the content of the page. It is extremely important that each page should have a title and that the title be pertinent to the page that contains it. Dreamweaver automatically adds a title element to every new page containing the text “Untitled Document”. Perhaps the easiest way of modifying the default title in Dreamweaver is simply to enter a title in the Document Title box of the Document toolbar which is normally displayed at the top of the page. An alternative is the choose Modify – Page Properties and then click on the Title/Encoding category on the left of the screen.

The title element is the only element which is required to be placed within the head element. In addition a number of optional meta elements may be placed in the head area to provide further information about the current page. One such meta element is generated automatically by Dreamweaver along with the title: the content-type. This declares the character encoding for the benefit of the browser and is particularly important if you have a site with an international audience. To specify the character encoding, choose Modify – Page Properties, click on the Title/Encoding category on the left of the screen and then choose an Encoding option from the drop-down menu.

The meta description element is one of the most important since, along with the page title, it is often displayed when your page shows up in the search engine results. The description should consist of a couple of sentences summarising the content of the page. To set the description in Dreamweaver, choose Insert – HTML – Head Tags – Description then enter your description in the dialogue box which appears.

Let’s end by mentioning one final meta element: keywords. The keywords meta element, often misused for spamming in the early days of the web, should contain a list of the important words and phrases to be found on the current page. Only text which actually appears on the page should be listed. To generate the meta keywords element in Dreamweaver, choose Insert – HTML – Head Tags – Keywords.

You can get up to date information on Dreamweaver training courses, visit Macresource Computer Training, a UK IT training company offering Dreamweaver Classes at their central London training centre.

Easy Client-side Development With Adobe Dreamweaver CS5

July 12th, 2010

Adobe Dreamweaver is a general purpose web development tool aimed at inexperienced and experienced users alike. It uses standard web technologies such as HTML CSS and JavaScript. Web content can be introduced into the Dreamweaver at any time without the danger of the program modifying your code. In the same way, pages created in Dreamweaver can be taken out of the Dreamweaver environment and used elsewhere.

Dreamweaver Training For Web Developers

The program does not rely on its own unque solutions which will only work in the Dreamweaver environment. Although Dreamweaver is not necessarily the best environment for creating all types of website, it is not an environment which one easily outgrows. It can be used both for creating basic, static content consisting of client side pages as well as more sophisticated dynamic content including server side pages. In other words, it is suitable for developing the content found on the vast majority of websites. So, let’s examine this content in more detail.

Most web sites are hosted on web servers owned by specialist hosting companies. A large website will have a dedicated server or even servers, whereas most typical websites will share space on a server with other sites. Visitors to a website are called clients.

Clients access the content on web servers using a variety of operating systems and a variety of browsers. They usually find this content either by clicking on search engine and other links or by simply typing a URL into the address bar of their browser.

The content that they access on websites can be divided into two categories: client-side content and server-side content. The term client-side refers to content which is compatible with the user’s browser, content which the browser software can actually open, display or execute (in the case of scripts).

The main component of client-side content is HTML, or as it’s known in its current incarnation, XHTML; a stricter and more consistent version of the original HTML specification. HTML is a simple markup language which is used to describe the content of web pages for the benefit of the client’s browser. Then we also have CSS and JavaScript.

CSS pages contain information describing the layout and presentation of web content. JavaScript is a simple scripting language which can be used to add interactivity to web pages. For example, when you are filling out a form on a website and information entered into a field is inappropriate, JavaScript can be used to notify you that the content must be changed.

All modern web browsers are fully capable of understanding XHTML, CSS and JavaScript content. With the addition of extra software known as plug-ins, other technologies can be added to web pages. Two of the most popular are Flash and Adobe Acrobat PDF files. All of this content then is fully compatible with the client’s browser; hence the term client-side content.

You can find out more about Dreamweaver by reading Dreamweaver CS5 Mastering the Basics by Grant Gamble.

What Makes Php The Standard In Web Development

June 22nd, 2010

PHP web development has matured into a de-facto standard for web site development. PHP is a scripting language that runs on a web server and generates complete pages or page components in HTML to be rendered by the users’ systems. Programmers use PHP web development to deliver dynamic content that would be virtually impossible with pure HTML.

PHP web development, in conjunction with HTML cookies and server-based databases can provide content customized for each individual user. User names, order history, site preferences or any other collected information can be used to generate a page unique to each user and each visit. This power of PHP web development has made the web a much more interesting and user-friendly place to spend time.

Using PHP web development, programmers are constantly finding new ways to interact with users. Users become regular visitors to dynamic sites, knowing that each visit will provide new and interesting content. Web-based businesses rely heavily on PHP web development to keep an active user base. Active users mean more revenue – either through advertising or direct sales.

PHP web development produces applications that interact with customers. Automated order processing would be impossible with HTML alone. The functionality of PHP running on the server and unseen by the user manages web retail sales on virtually all successful sites. PHP web development let users search databases, place orders, make payments and initiate the shipping process without human intervention.

Since PHP web development has become such an integral part of the internet it is expect to continue to grow into the future. Developers are improving the language and incorporating new functions constantly. New technologies developed outside the PHP community are embraced and supported.

Zend, the commercial entity of the PHP community has made available some powerful integrated packages for PHP web development. These will keep PHP active for years to come.

To learn more about PHP training courses, visit Macresource Computer Training, an independent computer training company offering PHP Classes at their central London training centre.

Using Adobe Dreamweaver To Build Dynamic Sites

May 24th, 2010

Adobe Dreamweaver is one of the most widely used and one of the best visual web development tools around. It allows both experienced and inexperienced developers to build standards-compliant web sites without having to become fully conversant with all of the underlying technologies. On the client-side, it contains tools for adding sophisticated JavaScript and Ajax functionality. On the server-side, it allows for easy connection to data sources and has visual tools for creating data-driven search and results pages.

Dreamweaver offers the developer a choice of five scripting languages: ASP, ASP.NET, PHP, JSP and ColdFusion. This is specified as part of the site definition process: in the “Testing Server” category, the user must enter the parameters which will enable Dreamweaver to connect to a server which has the necessary scripting software. Either a local or remote server can be used.

Dreamweaver offers the same dynamic server-side features, regardless of the scripting language chosen. First, you are able to connect to a data source which can be a database server such as Microsoft SQL Server or MySQL, or a desktop database file such as an Access database.

The connection can then be used to retrieve a set of data, using a SQL command. Dreamweaver offers a limited amount of help in building the SQL statement but the developer will need to acquire a basic knowledge of SQL syntax in order to retrieve the required data.

Dynamic elements from the dataset can be used to populate the page via simple drag and drop and other visual techniques. A number of useful “server behaviors” are also available to add functionality to the page. For example, the “Repeat Region” server behavior will automatically repeat a given page item (such as a DIV or table row) as many times as there are records in a dataset.

Another useful server behavior is the “Recordset Navigation Bar which provides automatically generated links to the first, last, next and previous pages of search results. The code created by the server behavior will also cause the correct links to be visible or hidden; thus, for example, the first and previous links will not be visible when the first page of results is being displayed.

Whether building client-side and server-side pages, Dreamweaver offers developers the same ease of use. This means that making the transition to building dynamic, data-driven web sites can be a fairly painless process, even for inexperienced web developers.

You can find out more about Dreamweaver training courses, visit Macresource Computer Training, a UK IT training company offering Dreamweaver training courses at their central London training centre.

Working With HTML Text In Dreamweaver CS4

April 14th, 2010

Although Adobe Dreamweaver is a visual editor it is not a word processor; and, therefore, the text it allows you to create is HTML text and HTML handles text in a different way to print-oriented environments such as word processors and DTP packages. Although adding text to your web pages feels kind of similar to working in any text editor, you will sometimes find a few quirks in the way that Dreamweaver handles text.

Firstly, there is the question of structure. Browsers assign a structural importance to text based on the HTML element which contains them. Text inside a heading element, such as h1 or h2, is given more prominence than text contained within a paragraph element. Dreamweaver uses the paragraph element as the default container for text; so, if you create a blank page in Dreamweaver and type some text, as soon as you press Return, your text will be placed inside a paragraph element.

Text is treated in pretty much the same way when it is copied and pasted from another environment. Dreamweaver will recognise returns and use them to split the text into paragraphs. It will also attempt to translate any formatting to its nearest HTML equivalent. Thus, if you copy some data from an Excel spreadsheet and paste it into an HTML page in Dreamweaver, you will end up with a table containing the Excel data. Similarly, if text from Word which has been formatted using Word styles such as “Heading 1″, “Heading 2″ and “Normal”, Word will place all “Heading 1″ text inside h1 elements, “Heading 2″ text inside h2 and “Normal” text inside paragraph elements.

As they edit their text in Dreamweaver, users who are unfamiliar with HTML may be occasionally confused by the fact that Dreamweaver treats text as a separate entity to the element that contains it. Thus for example, in design view, if you triple-click on a heading to select it, what Dreamweaver actually selects is the text inside the heading. The heading element itself is not selected. Once users are familiar with HTML, this behaviour becomes less confusion.

Dreamweaver’s tag selector feature is a great way of keeping tabs on the HTML elements you are generating and manipulating while working in Design view. The tag selector is the area on the left of the status bar at the bottom of the document window. It displays the tags representing the element which contains the currently highlighted item. These tags can also be used to select an element and its contents. Thus, to select a heading, ignore the text and just click on the tag representing the element which encloses it.

A lot of new users get seduced by Dreamweaver’s split screen view where code and design views are each allocated half of the screen. Unless you creating something fairly intricate, like a complex form, split view is a bit wasteful. Just looking at the tag selector is usually enough to let you know what HTML elements you are working with.

For more information on Dreamweaver training courses, visit Macresource Computer Training, a UK IT training company offering Dreamweaver Classes at their central London training centre.

Interested In Taking Web Development Training Courses?

March 30th, 2010

If you were planning on going to school to be a web designer, right now is the ideal time for taking web development training courses. Today the world is filled with rapidly growing technologies and becoming more advanced. Enrolling yourself in a class would highly improve your chances of success in the real world.

Fortunately for you, these marvelous new age classes offer the means to get the hands on experience you need for maximum effective teaching. The latest page design programs are also introduced for your use as well as a deep study of all the other applications you can add to spice up your site.

Quickly you will learn that creating code for a page is not the only tough skill to master. There also comes into play all of the other aspects of creating and running a site. The management role is a big task to complete, but it can be done. It just takes the patience and knowledge to be master of your web page.

In order to be a well-rounded designer, it will take a lot of time and effort to master the skills you are working for. If you want to make good money then you need to make sure that you have the right tools you need. Choosing the right training will get you on the fast track to success in no time.

You will receive an in depth look at how different types of sites are designed, plus how to use sound and video applications. Offering these changing technologies are, one of the many ways to provide a maximum learning experience.

The demand for top-notched developers is in motion and it is a tough race to compete in. Hopefully you can see, that the smartest and easiest way to ensure your skills is to attend web development training courses.

If you want more information Web Development training courses, visit On Site Training Courses . Com, an independent computer training web site offering Web Development training courses all over the UK.

Where To Search For XML Training Courses

March 28th, 2010

There are plenty of people these days that want or need to learn to build websites and other applications. This domain is a very dynamic and entertaining one. Its development has amazed everybody. If you want to learn an important tool in the process of building sites you should start with some easy XML training courses.

The available courses have different mastery levels, so that even the complete beginners can reach a good level of knowledge in the shortest amount of time. XML, or extensible markup language, is very easy to understand and develop impressive skills or anybody that has the desire.

Though it may be easy to find all the courses that are available find the right one for you and your skill level may be a little harder to do. There are a lot of factors you will have to put in to consideration if you are thinking of taking some course from a professional.

You should always do some research prior to starting. There are some ways you can get a clue about how professional a training course is and who is trying to cheat. There are several good course providers on Internet and they do fantastic jobs. Your task is to find them.

Begin by looking at the person or the companies history. Check with the better business bureau to find out how they handle customer complaints. One of the first thing you want to look for in a person you want to train you is whether or not they are trust worthy.

When looking for the XML training courses that are just the right fit for you, you have to take a long look at what you know and what the company will be teaching. It does not matter if you are a beginner or you have years of experience taking these sort of courses is always a good idea.

You can find out more about XML and XSLT training courses, visit On Site Training Courses . Com, an independent computer training web site offering XML training courses all over the UK.

Working With The Document Toolbar In Adobe Dreamweaver

March 27th, 2010

Dreamwaver has a huge arsenal of floating palettes known as panels. Some of these contain options that are duplicated both in the main and context menus or which can be accessed with keyboard shortcuts. You will therefore find that you do not need to keep all of Dreamweaver’s panels open.

One of the first document view keyboard shortcut any new Dreamweaver user should learn is F4. This is the shortcut for Window – Hide/Show Panels (or View – Hide/Show Panels). This very useful toggle causes all of Dreamweaver’s panels to disappear or reappear at their original positions.

Most of the options for showing, hiding and manipulating the various panels are to be found in the Window menu. However, in addition to the panels, Dreamweaver has two other tools palettes which are referred to as toolbars. One of these, the Document toolbar, is normally displayed at the document window. To make this toolbar visible, choose View-Toolbars-Document.

The first three icons on the Document toolbar are perhaps the most frequently used: Code, Split and Design views. The document title box is used to set the title which will appear in the title bar of the user’s browser (as opposed to the document’s file name). The file management pop-up menu contains options for uploading and downloading the document as well as commands to be used when working in collaboration. (These options are also available in the Site menu.) The browser preview pop-up menu allows you to preview your page in any of the browsers you specify using the Edit Browser List command.

Bear in mind that the Document toolbar is only visible if you are working in document view. In Dreamweaver, to be working in document view simply means to be editing an HTML, or other, document. If you are not in document view then you are normally working in the Files panel. There are three ways of entering document view from Files view.

Firstly, you can simply open an HTML document by double-clicking its name or by choosing File – Open.

2. You can also create a new blank file by choosing File – New.

Thirdly, you can activate a document which is already open by clicking its button in the Windows Taskbar or by choosing its name from the bottom of the Window menu.

If you would like to learn more about Web development training courses, visit Training Company . Com, a Computer training website offering Dreamweaver Classes at their central London training centre.

Adobe Dreamweaver CS4 Template Assets

March 24th, 2010

Dreamweaver templates are one of the program’s most powerful features. Templates allow you to control and update the appearance of an entire site. They are one of the features covered in detail on our Dreamweaver training courses. This article looks at how to set up, apply and modify templates. Templates facilitate site management by allowing you to modify and update several pages at once. A template is a web document (HTML, ASP, ASP.NET, etc. ) which contains a combination of locked elements and editable regions. When creating a new document, if you opt to base it on a template, the page will inherit all of the elements which the template contains. You individualise the page by modifying the content of the editable areas. If you later modify the template, all of the pages which are based on it can be automatically updated.

You can create templates from scratch or you can take an existing document and convert it into a template. To create a template from scratch

1. Choose New from the File menu. This displays the New Document window.

2. In the first column of the New Document window, click on New Template.

3. In the second column, specify the Template Type ((HTML, ASP, ASP.NET, etc. ).

4. In the third column, optionally choose one of Dreamweaver’s preset CSS layouts or click None to start with a blank page.

5. If you choose one of the CSS layout, in the forth column, you will need to specify whether the necessary code is placed in the head of the document, in a new CSS file or an existing one.

6. Click the Create button to generate your new template.

As soon as you start using templates, Dreamweaver creates a special Templates folder which it stores in the root folder of the site. All templates are automatically stored in this folder. You can also take a regular HTML document and convert it into a template.

1. Open the document which you wish to convert into a template.

2. Choose Save As Template from the File menu.

3. Enter a name for the new template and click Save.

All of the elements that you place on a template will be locked. They will appear on each page based on the template but will not be editable. To create the locked regions of a template

1. In the templates folder, double-click the name of the template you wish to edit.

2. Create the elements which you wish to appear on every page.

3. All of these elements will remain automatically locked and unchangeable on all pages based on the template.

4. If you save the changes you have made to the template at this point, Dreamweaver will remind you that you have not yet created any editable regions. Click OK.

You can get up to date information on Web development training courses, visit Training Company . Com, an independent computer training website offering Dreamweaver training courses at their central London training centre.