Skip to main content

Posts

Install Zend Framework in Wamp

Zend Framework is an open source, object oriented web application framework build for enterprises and high level  web application development . Zend Framework(ZF) provided bunch of libraries which is helping developer in web development. ZF is little hard to install and understand for beginner(freshers) specially who are working first time in any framework specially zend framework 2 installation.There is many website who are providing step to install zend framework in windows machine but personally they haven't put installation step very clearly to keep in mind for freshers. Here is steps  install zend framework in wamp  (Windows) : 1. Download zend framework skeleton from  https://github.com/zendframework/ZendSkeletonApplication 2. Unzip ZendSkeletonApplication-master and rename it zf (change folder name as your convenience). 3. Copy zf and paste it in wamp's www root directory in my case its  c:\wamp\www 4. Now download composer window installer from  http://getcomposer

How to Use Two Database in Yii PHP Framework

Recently in one of Ireland based project client has requirement to use existing Microsoft SQL Server database and implement new feature and store data into MySQL database with Yii Framework. First we have  install and implement microsoft sql server driver in wamp server  to make in localhost environment. Now we have to connect both the Database in Yii Framework. Following is steps to implement in Yii Framework : 1. In protected/config folder open main.php and add below code in component for mysql and sql server connection 'db'=>array(  // default mysql connection 'connectionString' => 'mysql:host=localhost;port=3306;dbname=db_name', 'emulatePrepare' => true, 'username' => 'db_username', 'password' => 'db_password', 'charset' => 'utf8', 'tablePrefix' =>'tbl_',  // if have prefix in database tables ), 'msdb'=>array( // microsoft sql server connection

Install Microsoft SQL Server Driver with WAMP

Most of PHP developer very much familiar with MySQL Database but We talk about Microsoft SQL Server we find lack for knowledge on PHP with SQL Server even on the google and php.net official website. Even the hosting company provide Pre-installed PHP and MySQL on the Server. Here some explicit instructions for install Microsoft SQLServ Driver in WAMP 32bit with PHP 5.3 : 1. Open http://www.microsoft.com/en-us/download/details.aspx?id=20098 for Download Microsoft SQLServ PHP Driver 2. Download SQLSRV30.EXE (Windows Vista, Server 2008, Windows 7 or above) or SQLSRV20.EXE (Server 2003/Windows XP or below). 3. Run SQLSRV30.EXE and enter your PHP bin folder path to Install Driver DLL files. 4. Open php.ini file and enable php sqlserv extensions extension=php_pdo_sqlsrv_53_ts.dll extension=php_sqlsrv_53_ts.dll 5. Restart All services in Wamp and confirm pdo_sqlsrv extension enable in phpinfo 6. Put you database connection string detail and User below php code to check database connec

Custom export into excel in Yii Framework

Hello Friend, In one my project  developed in yii . I was struggling to export the cgridview data into excel. I searched many plugin and read the tutorial. But not get proper solution specially with relational data from one or many models (database tables). I try eexcelview, toexcel etc. yii plugin but it was really slow specially on large data fetch and also not getting proper excel format. After spending some time, i planed to write my own custom export in excel code in  yii framework . 1. In model search function define session global variable and store active search data (set pagination false so you will get all the record without paging) public function search() { $criteria=new CDbCriteria; $criteria->compare('vendor_debit_id',$this->vendor_debit_id); $criteria->compare('hotel_id',$this->hotel_id); $criteria->compare('supplier_name',$this->supplier_name,true); $criteria->compare('debit_amount',$this->debit_amount)

Check and Use GZIP Compression through PHP

gzip compression is using for increase website speed and save server bandwidth. Read the below points to add gzip compression in your website: 1. Ask Hosting server provider to enable  gzip compresssion . 2. Compress all the css and js file using  7-zip  e.g. if your css file name is style.css it will save as style.css.gz. 3. Upload all the file on live server and set Content Encode GZIP to .gz files 4. Define  gzip global variable  in your common php file (remember the common file will include in all the php file into your website) $gzip_string=""; if (substr_count($_SERVER["HTTP_ACCEPT_ENCODING"], "gzip")) { $gzip_string=".gz"; }else{ $gzip_string=""; } 5. Put defined variable in all your script and style including in your php pages e.g. <link rel="stylesheet" type="text/css" href="css/my-style-file.css<?php echo $gzip_string;?>" /> <script type="text/javascript"

Blog and Tutorial Search on website design and development

Get the search results on website design and development at ezeelive.com

Yii Php Framework : the first choice for development

Ezeelive Technologies is leading yii php development company. We have started work with core php and then frameworks e.g. Zend, CakePhp, CodeIgnator (CI), Symphony, Kohana and from last 3 year we are using Yii Framework. Now We are prefering using Yii framework in Major development work. Checkout below reason why Yii Framework is our First Choice in development : 1. The first and major advantages is Yii has Web GUI based GII module for generate module, model, controller and views 2. In GII You can select which view you want to create or not by selecting in one screen only. 3. Creating Model in Gii Provide AutoPopulate Table Names to selection 4. Yii has in-build ORM module (Yii Active Record) to making query faster, validate and secure (protection from sql injection)  5. Yii is build for development faster and provide delivery to client on time. The Gii Module generate the require structured CRUD with all the basic input validation, search and listing, view and update functionality.

Website malware attack prevention

Malware is a malicious code that includes viruses, worms, and trojan. Malware works like unnoticed, in-actively hiding or not making its presence on a system known to the user  1. Take site offline, configure web hosting to "503 service temporarily unavailable". Google webmaster tool suggests, taking website/application down(offline) is better than using robots.txt to prevent search engines from being crawled. 2. Keep licensed antivirus up to date and always scan your computer for malwares, virus, trojans and other infections and enable internet and mail security on. 3. Change FTP password and all the login account password with strong password (Minimum 8 characters in lengthshould contain a mix of alpha, numeric and special characters) 4. Don't save password in local machine directory or filezilla 5. Use SFTP instead of FTP in filezilla. 6. In Wordpress , Ensure make sure all plugins are up to date. Since wordpress is a commonly used system. 7. Contact your web host

Ezeelive – Hire Web Designers, Developers and SEO Expert

Hello Friend, Thanks for showing interest in careers with ezeelive web solution . We are leading web design and development company from Mumbai, India. We are working with UK and USA Based company who provided us regular work in web designing and development. They have very high expect in design as well as development.So we have inhouse team for handling and doing work, But sometime they get lots of work from their which can not handle at same time and We require Experience Web Expert in Web Design, Development and SEO. We hire as Freelance or Project Basis work for experience people who have min 4-5 year experience in their industry. Freelannce Web Designer : We have require freelance web designer who can provide design (In PSD Format) in below points: 1. Layout should be clean and neat. 2. Website Layout Color and Font (google font, cufon) should be proper readable. 3. Attractive logo design. 4. High resolutions images. 5. Clients suggest black colors (But designers

Wordpress : Its Advantages and disadvantages

WordPress  started in 2003 with a single bit of code. Open Source WordPress platform is the platform of choice for most bloggers and can be used successfully for simple website design. It does have some stiff competition though, especially with the release of Drupal and with Joomla’s increasing popularity. Each platform has its  advantages and disadvantages , and users need to evaluate what is important for them in a blogging platform/CMS: Advantages: 1. Easy to Use : -  While most products advertise themselves as being “easy to use” WordPress doesn’t advertise this, this is the reputation it has earned. Unlike  Drupal and Joomla , WordPress doesn’t require knowledge of PHP or HTML coding. 2. Menu : -  Wordpress 3.0 has some great menu options, making it prettier and simpler than Joomla due to its custom menus that can be rearranged to include categories, pages, etc.  3. Community : -  Having a large community to draw on for support and tricks is important to many people and Wordpre

Advantages of Web Application Development

Web application  is an application that is accessed over a network such as the Internet or an intranet . The term may also mean a computer software application that is coded in a browser-supported language (such as  JavaScript , combined with a browser-rendered markup language like HTML) and reliant on a common web browser to render the application executable. 1. it is cheaper to implements. For example, if you develop application with .NET you need to have clients that install windows. but in  web application , once you develop, any client can access your  web apps with any platform . 2.  web app development  are simple (once you know about  css javascript and framework ) it can make your life easier. 3. No virus and easy to deploy/install for client. 4. Only one copy of a program will ever need to be updated. 5. 99% of the code is platform independant. 6. Less chance of finding restrictions that the clients computer may have imposed 7. Accessible from wherever your users are 8. Cr

Yii Framework And Its Features

Yii is a free,  open-source Web application development framework  written in PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product. Yii is a perfect choice for any sized project. However, it has been built with sophisticated, enterprise applications in mind. Features of Yii Framework :  Whether you are one developer building a fairly simple Web site, or a team of distributed developers building an extremely complex Web application, using Yii is like augmenting your development team with additional experienced, professional, and efficient resources. 1.  Model-View-Controller (MVC) design pattern :   Yii implements the model-view-controller (MVC) design  pattern, which is widely adopted in Web programming. MVC aims to separate business logic from user interface considerations, so that developers can more easily change each part wi