Archive for the ‘javascript’ Tag

Just PHP will give you nothing… unless you upgrade yourself by Hasin Hayder by Hasin Hayder

This topic was actually posted by Hasin Bhai, I just made a summary of it and want to find out from here what should i learn next.

CSS: (maintain a list of websites where from you can get updates. Dont learn the CSS from book, but goto websites and see what is happening)

JS: you have to have some basic skills on basic javascript, but dont spend time for re inventing the wheels. Go for popular libs like Prototype, jQuery, Moo, Mootools, Scriptaculous, Dojo, Rico

Frameworks: Have to have proper knowledge on MVC framework. Most Popular frameworks for PHP are CodeIgniter, CakePHP, Symfony

Never wait for only MySQL. Learn postgreSQL. PostgreSQL also developed a lot. Now its hardly a factor between them, if you talk abt performance. Beside that I must say postgre is much more mature, feature rich and thats why it is called “open source oracle”. And it is also necessary to learn atleast one of the embedded database like SQLite. Dont ever think that SQLite is less powerull. You can develop amazing apps using simply SQLite, with some “hacks” and “optimizations”.

If you are PHP developer and think you have learned enough already, let me give some suggestions. Please DONT think you have finished learning. Everyday there are new release from PEAR, PECL and many other providers. Please learn useful packages from PEAR. Also learn the following:

1. ezComponents
2. Zend Framework (dont mix framework with the MVC concept.. MVC is just a part of Zend Framework)
3. Popular opensource packages
4. PEAR
5. Templating engines like Smarty, Savant.

also keep yourself uptodate from the following sites

1. www.phparch.com
2. www.phpmag.net
3. www.phpmagazine.net
4. www.ajaxian.com
5. www.mashable.com
6. www.programmableweb.com
7. www.planet-php.org

JavaScript Tutorial: 02

02.html

<html>
<head>
<title>My next script</title>
<script type=”text/javascript” src=”script.js”>
</script>
</head>
<body>

<h1>Hello, World! in HTML</h1>

<h1>
<script type=”text/javascript”>

document.write(“Hello, World! in JavaScript”);

</script>
</h1>

<h1 id=”helloMessage”></h1>
</body>
</html>
************************************************
script.js

window.onload = writeMessage;

function writeMessage() {
document.getElementById(“helloMessage”).innerHTML = “Hello, world! from an external script”;
}
************************************************
Output:

Hello, World! in HTML

Hello, World! in JavaScript

Hello, world! from an external script

JavaScript Tutorial: 01

<html>
<head>
<title>JavaScript Tutorial: 01</title>
</head>
<body>

<h1>Hello, World! in HTML</h1>

<h1>
<script type=”text/javascript”>

document.write(“Hello, World! in JavaScript”);

</script>
</h1>

</body>
</html>

*************************************************

Output:

Hello, World! in HTML

Hello, World! in avaScript