Written by Nikhlesh Kunwar Wednesday, 11 March 2015 07:36
Now, that you have installed Zend Framework you can test it to be sure it is installed correctly. There are two methods we'll cover here to be sure it is installed correctly and functioning as it should. If you have not installedZend Framework and would like to do so, please see our tutorial.
Please visit the following link for actual code to the installationchecker.php file.
In this section of the tutorial we're going to show you how to create a "Hello World" script using Zend Framework. This 'Hello World' script is not designed to print to your screen but creates a file called "hello.php" in the same folder.
<?php require_once 'Zend/Pdf.php'; /* create a new pdf document */ $pdf = new Zend_Pdf(); /* create a page */ $page = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_LETTER_LANDSCAPE); /* setup font */ $font = Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA); /* write text to page */ $page->setFont($font, 48); $page->drawText('Hello, World!', 250, 500); /* add page to document */ $pdf->pages = $page; /* save pdf */ $pdf->save('hello.pdf'); ?>
If you see the results as the above screenshot, you have been successful in creating your first Zend Framework 'Hello World' script. If you need further assistance please feel free to contact our support department.
|< Prev||Next >|
Royal Developer Top three Web Designing and Web Development Company in Dehradun, Uttarakhand, India. Royal Developer Best SEO Company in Dehradun takes pride in its philosophy of 'Employee First' which empowers to create a real value for the customers. Royal Developer can offer Best and cheap Website Development Software Development & SEO Services. We are the Best service Provider of SEO, SEM, SMO Services Company in Uttarakhand. Web Designing Course in Dehradun, Web Designing Classes in Dehradun, Web Design Training Institute in Dehradun, Web designing institute in dehradun, Best institute for web designing in dehradun, Web development training in dehradun, Web development course in dehradun, Web Designing Training in Dehradun.
|- - Our Services - -|
|- Website Designing||- Website Development||- Bulk SMS|
|- SEO ( Google Promotion )||- SMO ( Facebook, Youtube, Twitter )||- Google Adwords|
|- Bulk Email||- Shared Hosting||- Reseller Hosting|
|- Mobile Website||- VPS Hosting||- Dedicated Hosting|
|- Logo Design||- Shopping Website||- Software Development|
|- Mobile Apps||- Payment Gateway||- SSL Certificate|
|- Domain Registration||- Mobile No. Database||- Email ID Database|
|- Php Readymade Script||- Content Writing||- I.T. Courses|
|- Google Adsense||- Toll Free Number||- Missed Call|