January 5

Which CMS, Framework or Opensource use as per reequirments

Kindly find below table, those  will be helpful to identify which PHP open source/PHP software /PHP framework will be best for website as per your requirement.

Open Source Requirement
Joomla, Drupal Content Management System and generic requirement. Drupal and Joomla are very rich in components. Most of components are available for all your requirements. if you not found s per your requirements, you will have options of near by components which meets client requirement and customize it.
WordPress Content Management System and Blogging. To developer more informative and easy website this is a best CMS. lots of plug-in for generic requirement. You can create custom plug-ins and widgets to wrap up custom things. WordPress is the most SEO friendly software.
Zen Cart, Os commerce If you want to create online shopping store then this open source works. All these opensource have a option of Its also providing simple CMS functionality using which you can handle the back-end of application. This will be best when in your requirement shopping, order and payments etc feature are key things.
X cart, Magento If you are planning to develop more complex level shopping website and web store development, these opensource are best.
Core PHP If you don’t want to use CMS and want to code your application then go for core PHP. If you are developing small web application then use plain PHP.
PHP Framework If you are want to develop large scale application then use PHP frameworks.  they are easy to code and easy to maintain.  Some popular PHP frameworks are CodeIgniter, CakePHP, YII, Laravel, ZEND, Symphony .. and many more are theer
Category: PHP | LEAVE A COMMENT
December 18

Difference between Include, Include_once, Require and Require_once

Include

The include() statement includes and evaluates the specified file.

Include Once

The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be included just once.

Require

require() and include() are identical in every way except how they handle failure. They both produce a Warning, but require() results in a Fatal Error. In other words, don’t hesitate to use require() if you want a missing file to halt processing of the page.

Require_once

The require_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the require() statement, with the only difference being that if the code from a file has already been included, it will not be included again.

Category: PHP | LEAVE A COMMENT
December 9

3 Ways to Develop Cross Platform Desktop Apps with PHP

Its a very tedious, but it is possible to develop cross platform desktop with php. Just find below how we can do it;

1. Nightrain

Nightrain is a prepackaged set of PHP-hosting prerequisites powered by PHP 5.5.x at the moment. It’s a packager written in Python that uses PHP’s internal server to host your app, thus avoiding Apache and Nginx and minimizing configuration shenanigans.

2. WXPHP

You install wxPHP as a separate program, which then gives you support for execution of .wxphp files by simply double clicking on them.

3. TideSDK

TideSDK has a somewhat different approach than the above two. You install an SDK to be able to develop applications, and each platform has certain prerequisites. TideSDK is actually the renamed Titanium Desktop project.

 

For more detailed information kindly click TECHGIG.COM

Category: PHP | LEAVE A COMMENT
December 6

50+ Extremely Useful PHP Classes & Libraries

Database Class

ADOdb – Database Abstraction Library

PHP DB Class – MySQL Database Class

CatchMyFame Pagination Class

PHPillow – Wrapper for CouchDB

sqlCache – Caching SQL Database Results

IAM Backup – MySQL Database backup and restore

PHP DataGrid

Security

PHP CAPTCHA – Visual and Audio PHP CAPTCHA Generation Class

User Input Sanitization Class

HTML Purifier

Simply PHP/MySQL authentication class

phpAES – Encryption Class

Continue reading

Category: PHP | LEAVE A COMMENT
November 19

Error Levels in PHP

php-error

Error Level Value Description
E_ERROR 1 A fatal run-time error, that can’t be recovered from. The execution of the script is stopped immediately.
E_WARNING 2 A run-time warning. It is non-fatal and most errors tend to fall into this category. The execution of the script is not stopped.
E_PARSE 4 The compile-time parse error. Parse errors should only be generated by the parser.
E_NOTICE 8 A run-time notice indicating that the script encountered something that could possibly an error, although the situation could also occur when running a script normally.
E_CORE_ERROR 16 A fatal error that occur during the PHP’s engine initial startup. This is like an E_ERROR, except it is generated by the core of PHP.
E_CORE_WARNING 32 A non-fatal error that occur during the PHP’s engine initial startup. This is like an E_WARNING, except it is generated by the core of PHP.
E_COMPILE_ERROR 64 A fatal error that occur while the script was being compiled. This is like an E_ERROR, except it is generated by the Zend Scripting Engine.
E_COMPILE_WARNING 128 A non-fatal error occur while the script was being compiled. This is like an E_WARNING, except it is generated by the Zend Scripting Engine.
E_USER_ERROR 256 A fatal user-generated error message. This is like an E_ERROR, except it is generated by the PHP code using the function trigger_error() rather than the PHP engine.
E_USER_WARNING 512 A non-fatal user-generated warning message. This is like an E_WARNING, except it is generated by the PHP code using the function trigger_error() rather than the PHP engine
E_USER_NOTICE 1024 A user-generated notice message. This is like an E_NOTICE, except it is generated by the PHP code using the function trigger_error() rather than the PHP engine.
E_STRICT 2048 Not strictly an error, but triggered whenever PHP encounters code that could lead to problems or forward incompatibilities
E_RECOVERABLE_ERROR 4096 A catchable fatal error. Although the error was fatal, it did not leave the PHP engine in an unstable state. If the error is not caught by a user defined error handler (see set_error_handler()), the application aborts as it was an E_ERROR.
E_DEPRECATED 8192 A run-time notice indicating that the code will not work in future versions of PHP
E_USER_DEPRECATED 16384 A user-generated warning message. This is like an E_DEPRECATED, except it is generated by the PHP code using the function trigger_error() rather than the PHP engine.
E_ALL 32767 All errors and warnings, except of level E_STRICT prior to PHP 5.4.0.

 

Category: PHP | LEAVE A COMMENT