Think about it: if JavaScript is built in to your browser, and you have more than one browser, you actually have multiple installations of JavaScript on your computer. UNDER THE HOOD: You Probably Have Multiple Versions of JavaScript Already! Just as you canât upgrade your HTML installation outside of your browser, you canât upgrade your JavaScript installation outside of your browser. In fact, if a new version of JavaScript were to appearâsomething that rarely happens these daysâyouâd need to download a new version of your browser to get that version of JavaScript. In other words, support for JavaScript is part and parcel of your web browser. Whether it was simple phone number validation, more advanced jQuery functions that turned boring gray boxes into animated buttons and elements into tabs, or even the new HTML5 canvas object, within which you could build entire JavaScript-based 3D games, your pages suddenly had new life with JavaScript.īut just as with HTML and CSS, JavaScript is at heart a web technology, and even more specifically, a browser-based technology. Suddenly, you werenât limited to elements that never moved and text that never changed. Next up in the pantheon of web technologies that every designer and fledgling programmer needs to learn: JavaScript. JavaScript Adds Complexity, but Not Software ![]() Again, no extra software needed.Īt this point, even though youâre using only two technologiesâHTML and CSSâyou need only a single program to handle those technologies: the web browser. Thatâs because, once again, the web browser is completely capable of not just rendering HTML, but applying all those CSS styles to the page, too. You might even have a few style sheets for the benefit of people viewing your website on mobile devices or printing out a page: īut you can still double-click that HTML file, and your browser knows what to do (see Figure 1-2). Then, at some point, some well-meaning web designer slapped your hand and insisted that you start writing all your CSS in external style sheets, and referencing those files in the head of your HTML, like this: Using the style attribute and tags in your HTML document, you could change fonts, add striping to your table rows, and generally spice up otherwise boring text. If you keep thinking back, you probably added some styling to your HTML pages. No extra software or configuration is necessary. So get going thereâs no reason to leave your users with passive HTML pages any longer.įigure 1-1. Web browsers know all they need to know in order to load and display an HTML page. PHP lets you listen carefully to your users and say something back. With PHP, you become an active participant in your web pages. Throughout the process, youâll begin taking control. Not only that, youâll run your script, upload it to your web server, and access your script with a web browserâ¦and thatâs all in the first two chapters! ![]() Donât worry itâs amazingly easy to write your first program in PHP. You need to become familiar with PHP itself, and the best way to do that is to install PHP on your own computer as well as becoming familiar with how PHP runs on a remote web server. And because youâre just working in text, thereâs not a lot you have to do to get going as a PHP programmer. ![]() This version contains: Apache, MySQL, PHP + PEAR, Perl, mod_php, mod_perl, mod_ssl, OpenSSL, phpMyAdmin, Webalizer, Mercury Mail Transport System for Win32 and NetWare Systems v3.32, Ming, FileZilla FTP Server, mcrypt, eAccelerator, SQLite, and WEB-DAV + mod_auth_mysql.PHP is ultimately just text that is taken by your web server and turned into a set of commands and information for your web browser. The distribution for Windows 2000, 2003, XP, Vista, and 7. There are no changes to the Windows registry (not true if you use the Windows installer version of XAMPP) and it''s not necessary to edit any configuration files. To install XAMPP you only need to download and extract XAMPP, that''s all. XAMPP is really very easy to install and to use - just download, extract and start. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. Many people know from their own experience that it''s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. XAMPP is a free and open source cross-platform web server solution stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |