PDA

View Full Version : Zend Certification Lesson Thread


blackroses
02-09-2008, 08:51 AM
okii guyz...... u al knw elakiri.com is the best site in sri lanka.... ( we can prove it 4m da threads & registered users ):D :D :D :yes: :yes:

so, admins & two of us thought to begin a lesson section here. itz about ZEND CERTIFICATION. :cool: :cool: :cool:

here, we plan to start 3 threads for dis. :rolleyes: :rolleyes:

1st thread
Zend PHP Lessons Only (http://www.elakiri.com/forum/showthread.php?t=64026) ;) ;)

2nd thread
PHP questions & answers (http://www.elakiri.com/forum/showthread.php?t=64027) ;) ;)

3rd thread
Ideas, Complains, Suggestions, Comments (http://www.elakiri.com/forum/showthread.php?t=64028) ;) ;)

most important thing is dont jam the lesson thread & PHP questions and answers thread. :yes: :yes: :yes: :yes: :yes: u can discuss abt nythn in Ideas, Complains, Suggestions, Comments thread or PM for us. :P :P :P

think beginners can gather lot of thingz 4m dizzz....... :rofl: :rofl: :rofl: :rofl: :rofl:

here we gooo....... :) :) :)

oopsss.....

sorry....... dis z doin by djpata & blackroses :)

Djpata
02-10-2008, 11:21 AM
-INTRODUCTION-



What is Zend?:confused:

ZEND is the company that has the legal ownership for PHP Language now. And you have doubt about why Zend for PHP and also why this company has the leadership for PHP coz it’s an open source Language? So, how can ONE company lead the world one of prestige language? Ok, here’s the brief description of the Zend Company background. Andi Gutmans and Zeev Suraski, the founders of Zend Engine. They developed an open source platform specially designed for PHP even though it’s an open source. Because of Zend Engine Internationally recognized, they continued to fight the battle among PHP and open source communities. So today, by little by little, they became the honour possessor for PHP Language.


What is PHP, HyperText PreProcessor?:nerd:

MAY BE you all know PHP is one of world leading web scripting language.Yep, it’s true. But not only that.Because of PHP is an open source language, it becomes more and more advance in day by day.In early days, PHP is not developed within shortest time but now it’s not. PHP becoming the most powerful language in the world. Another reason for that is PHP web servers are cheaper than other web languages. If we consider, 90% out of web service
providers using PHP as their Back End scripting LanLanguage coz of the security, user friendliness and many of other features.


Language Versions.:yes:

AT this moment, Zend Inc developing two versions of
PHP.One is PHP 4 & the other one is PHP 5. Why two versions for a same language? It’s simply because of this. Before Zend Company gets the ownership, lot of PHP engineers used PHP 4 version for their back end works. But after Zend Engine developed, the Zend Company released a new version of PHP called PHP 5. They avoid lot of holes in PHP 4. For eg. The use of XML (extensible markup language) is very poor in PHP 4. But in PHP5, it’s very easy to deal with XML. And the other hand, they added more features like Object Oriented concepts, ( Now there is a problem for you that is PHP can develop standalone applications too? Yep, bit correct, but it’s in developing stage ), magic methods, constants, constructs an so on in PHP5.And PHP.NET verifies that the end of PHP 4 version on 03rdJanuary 2008. ( Last Release 4.4.8 ) So now, you can be a prestige Zend Certified Engineer for PHP 5 through ElaKiri.Com. So, be with us. This is only place you can be a ZCE in near future.











-Source EK|Zine 1st Issue-




*Dear Frineds Please Go Through This And Learn Some Thing By The Time While You Posting,Having Fun,Making friends etc. in EK!:D Please Be Kind Enough to Make Comments In Our comments Thread(in My N blckz Siggy) Don't Post anything In here ( even a comment plz,and dats why we put another thread for it) becoz we are planing to make this thread like a booklet(its like after months ago if nyone reffering this thread he/she could go thread like a book then that person can go through lesson by lesson (post by post) without anything else matters to him self,jst think if u are reading a book it's not messy?you can gain the things in it clearly and perfectly aint it?:Dso plz be kind enough and give ur support to us,if u hv any question there is a thread for that too u can ask anything in it and we will deffa reply you as we got time,otherwise u can PM blackroses or to me anything regarding this or anything else:Pand of course feel free to ask anything;) go through and gain some thing we also like educate u ppl in anyway wich we can,thanks for learning!:)

Djpata
02-11-2008, 05:01 PM
Previously,we discussed about what is Zend,What is PHP
and so on.So now,we’ll talk about PHP Basics…,


We want a platform to run PHP script files in our web browser. It’s just like, for train, it wants railways to run. As like, PHP also wants a platform to run PHP Scripts files with Zend Engine. As default, we need a web server software as platform and PHP Language resources for run PHP files. MY recommended bundle pack is “XAMPP ( Apache, MySQL, PHP & Perl ). You can download this software through http://www.apachefriends.org/en/xampp.html (http://switch.dl.sourceforge.net/sourceforge/xampp/xampp-win32-1.6.5-installer.exe)


Installing / Configuring XAMPP

Proceed the steps.(As Given)


http://img338.imageshack.us/img338/3200/xammp1ys1.jpg
http://img217.imageshack.us/img217/6936/xammp2ao4.jpg
http://img246.imageshack.us/img246/5118/xammp3di2.jpg

In this window, tick all the options. Proceed next steps…
( As Given ).

http://img256.imageshack.us/img256/8516/xammp4ah8.jpg
http://img338.imageshack.us/img338/9228/xammp5mo5.jpg

After You Click Finish Button XAMPP Control Pannel Will Launch As Below Screenshot

http://img106.imageshack.us/img106/4017/xammp6vw8.jpg

Make Sure You Got The Icon and Running XAMPP Control
Panel as Above.

Open Your Web Browser.In Address Bar,Type http://localhost. You’ll Get a Chance to Choose Language. Click
English and Then You’ll Get a Window Like Below.

http://img505.imageshack.us/img505/4360/xammp7km8.jpg


Your Next Leson Will Be "My 1st PHP Script" Get Ready By Installing XAMPP! We Hope All Of You Will Learn Something From Here:D Feel Free To Ask/Discuss Anything In Comments Thread (http://www.elakiri.com/forum/showthread.php?t=64028) Or Q & A (http://www.elakiri.com/forum/showthread.php?t=64027) Thread :D





Guyz and Galz dnt be shyy:P:rofl::lol: if u hv nything to knw or any kinda problem or ny issue abt installing & configurin XAMPP plz put ur problems in Qoustions and Answer Thread (http://www.elakiri.com/forum/showthread.php?t=64027) but plzzzzz do not post them here even dnt reply to this thread:P all your comments,complains,ideas and suggestions are welcome and post them in comments thread (http://www.elakiri.com/forum/showthread.php?t=64028) :D;)

Djpata
02-17-2008, 07:11 AM
Before you begin, we'll discuss about the things, you know as well as you don't know about PHP.


PHP Tags

There are four PHP tags available.


Standard Tags

<?php
...... code
?>

Standard tags are the best solution for portability and backwards compatibility, because they are guaranteed to be available and cannot be disabled by changing PHP’s configuration file.

Eg 1.

<?php
echo ‘Hello World’;
?>


Short Tags

<?
………… code
?>

Short tags were, for a time, the standard in the PHP world; however, they do have the major drawback of conflicting with XML headers and, therefore, have somewhat fallen by the wayside. Their other advantage is the availability of the short form <?=$variable ?> syntax, which allows you to print the result of an expression directly to the script’s output.

Eg 2.

<?php echo ‘Welcome to elakiri.com’ ?>
<?= ‘Welcome to elakiri.com ?>


Script Tags

<scripting language=”php”>
………… code
</script>

Script tags were introduced so that HTML editors which were able to ignore JavaScript but were unable to cope with the standard PHP tags could also ignore the PHP code.

Eg 3.

<html>
<body><scripting language=”php”>
echo ‘Called in a Differ Way’;
</script>
</body></html>


ASP Tags

<%
………… code
%>

Nobody quite understands why ASP tags were introduced—however, if you are so inclined you can turn on this optional configuration option, and you are free to use them.

Eg 4.

<% echo ‘hello guys’ %>
<%= ‘hello guys’ %>



You want to edit php.ini before you try this. IF you already installed xampp, go to C:\xampp\apache\bin and open php.ini with notepad.Then press Crtl+F,then there will be a search bar in that search bar type asp_tags then you will get the 1st screen shot imgae below.Change the ASP tags off --> On. Then Restart Apache. To do that, you must open the xampp control panel. There is a button called stop. When you press it, it convert to start again. Then Press Start Button Again. ;)

Screenshots

http://img404.imageshack.us/img404/4139/fndasptagsmb1.jpg


http://img267.imageshack.us/img267/126/aspcp6.jpg

http://img89.imageshack.us/img89/2029/xampp1av8.jpg

http://img267.imageshack.us/img267/3307/xampp2bz3.jpg


Note that, as long as your copy of PHP has been configured to support more than one type of opening and closing tags, you can mix and match opening and closing tags from different families. But it’s not a good programming practice.




We Hope All Of You Will Learn Something From Here:D Feel Free To Ask/Discuss Anything In Comments Thread (http://www.elakiri.com/forum/showthread.php?t=64028) Or Q & A (http://www.elakiri.com/forum/showthread.php?t=64027) Thread :D






Guyz and Galz dnt be shyy:P:rofl::lol: if u hv nything to knw or any kinda problem or ny issue abt your 1st PHP Script plz put ur problems in Qoustions and Answer Thread (http://www.elakiri.com/forum/showthread.php?t=64027) but plzzzzz do not post them here even dnt reply to this thread:P all your comments,complains,ideas and suggestions are welcome and post them in comments thread (http://www.elakiri.com/forum/showthread.php?t=64028) :D;)

Nic
07-13-2011, 09:27 AM
OK too bad that this thread stopped here.. now there is one who interested in this ;) -