PHP And JavaScript

PHP

PHP is a server-side scripting language and a powerful tool for making dynamic and intuitive Web pages.

PHP: Hypertext Preprocessor


Code written in PHP executes considerably speedier than those Code written in different languages, for example, JSP and ASP.

It is powerful enough to run the largest social network (Facebook)! and biggest blogging system on the web WordPress.

PHP is platform independent i.e runs on various platforms (Windows, Linux, Unix etc.)

PHP is compatible with almost all servers(IIS, Apache etc..).

PHP can create, open, read, write, delete, and close files on the server
PHP can add, delete, modify data in your database
PHP can secure the data by encrypting
PHP can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML and JSON.
PHP file can contain content, HTML, CSS, JavaScript.

<!DOCTYPE html>
<html>
<body>

    <?php
    echo "Learn PHP";
    ?>

   <script>
   document.write("PHP and JavaScript");
   </script>

</body>
</html>

Wide range of extensions and other ad-onsLarge Community/Libraries/Frameworks 
3rd Largest StackOverflow Community
5th Largest Meetup Community
5th Most Popular language at GitHub
Best documentation on the web Tons of blogs and 
"PHP is easy to learn"

JavaScript

JavaScript is an object-based scripting language that is lightweight and cross-platform.

JavaScript is translated. The JavaScript Translator (embedded in the browser) is responsible to translate the JavaScript code.

JavaScript can be used for client-side validation
JavaScript can be used for dynamic drop-down menus
JavaScript can be used for displaying data and time
JavaScript can be used for show and hide data
JavaScript can be used for displaying popup windows and dialog boxes



<!DOCTYPE html>
<html>
<body>

<h2>Welcome to JavaScript</h2>

<script>
document.write("Hello JavaScript by JavaScript");
</script>

</body>

</html>


No comments:

Post a Comment

Labels

php (35) javascript (31) phpjavascript (30) jquery (23) html (20) mysql (14) database (9) codeigniter (4) json (4) bar chart (2) calendar (2) column chart (2) framework (2) google maps (2) query (2) tables (2) url (2) dropdown (1)

Popular Posts