User talk:Behera.cr
How to create custom plugins in Zend Framework
Plugin is nothing else but the class, in our case it extends Zend_Controller_Plugin_Abstract.
This is assuming that you have your plugin in this directory: /path/to/library/My/Controller/Plugin/Example.php
And the Example.php file contains something like this.
<?php class My_Controller_Plugin_Example extends Zend_Controller_Plugin_Abstract {
public function preDispatch(Zend_Controller_Request_Abstract $request) { //code for your plugin here... }
}
Please note that Zend Framework has a naming convention on this. For the classname: My_Controller_Plugin_Example, every underscode (_) is converted into a slash (/) to form a directory structure. So, the classname ‘My_Controller_Plugin_Example’ would be read as /My/Controller/Plugin/Example.php by Zend Framework — with the ‘My’ folder inside the ‘library’ folder
So the key things to remember are:
- Register your custom plugin in your application.ini
- Make sure that you load your namespace in the application.ini. In this example, it should be ‘My’
- Make sure that you have your classname-to-directory structure is correct
To register your own custom plugin in the new Zend Framework, go to your application.ini file found in the configs directory and add this:
autoloaderNamespaces[] = "My_" resources.frontController.plugins.Example = "My_Controller_Plugin_Example"
Or
You can register plugin in Bootstrap.php file
You would need first to load your plugin class (via Zend_Loader or require_once) then create your plugin yourself:
$plugin = new My_Controller_Plugin_Example(); $front = Zend_Controller_Front::getInstance(); $front->registerPlugin($plugin);
http://www.f1teksolutions.com/zendframework/how-to-create-custom-plugins-in-zend-framework/
The article How to create custom plugins in Zend Framework has been proposed for deletion because of the following concern:
- delete per WP:NOTHOWTO.
While all contributions to Wikipedia are appreciated, content or articles may be deleted for any of several reasons.
You may prevent the proposed deletion by removing the {{proposed deletion/dated}}
notice, but please explain why in your edit summary or on the article's talk page.
Please consider improving the article to address the issues raised. Removing {{proposed deletion/dated}}
will stop the proposed deletion process, but other deletion processes exist. In particular, the speedy deletion process can result in deletion without discussion, and articles for deletion allows discussion to reach consensus for deletion. Slon02 (talk) 20:44, 20 July 2011 (UTC)
Speedy deletion nomination of F1teksolutions
[edit]A tag has been placed on F1teksolutions, requesting that it be speedily deleted from Wikipedia for multiple reasons. Please see the page to see the reasons. If the page has since been deleted, you can ask me the reasons by leaving a message on my user talk page.
If you think that this notice was placed here in error, contest the deletion by clicking on the button labelled "Click here to contest this speedy deletion," which appears inside of the speedy deletion ({{db-...}}
) tag (if no such tag exists, the page is no longer a speedy delete candidate). Doing so will take you to the talk page where you will find a pre-formatted place for you to explain why you believe the page should not be deleted. You can also visit the the page's talk page directly to give your reasons, but be aware that once tagged for speedy deletion, if the page meets the criterion, it may be deleted without delay. Please do not remove the speedy deletion tag yourself, but don't hesitate to add information to the page that would render it more in conformance with Wikipedia's policies and guidelines. If the page is deleted, you can contact one of these administrators to request that the administrator userfy the page or email a copy to you. Slon02 (talk) 20:49, 20 July 2011 (UTC)
Speedy deletion nomination of Phpsolutions
[edit]If this is the first article that you have created, you may want to read the guide to writing your first article.
You may want to consider using the Article Wizard to help you create articles.
A tag has been placed on Phpsolutions requesting that it be speedily deleted from Wikipedia. This has been done under section A7 of the criteria for speedy deletion, because the article appears to be about web content, but it does not indicate how or why the subject is important or significant: that is, why an article about that subject should be included in an encyclopedia. Under the criteria for speedy deletion, such articles may be deleted at any time. Please see the guidelines for what is generally accepted as notable.
If you think that this notice was placed here in error, contest the deletion by clicking on the button labelled "Click here to contest this speedy deletion," which appears inside of the speedy deletion ({{db-...}}
) tag (if no such tag exists, the page is no longer a speedy delete candidate). Doing so will take you to the talk page where you will find a pre-formatted place for you to explain why you believe the page should not be deleted. You can also visit the the page's talk page directly to give your reasons, but be aware that once tagged for speedy deletion, if the page meets the criterion, it may be deleted without delay. Please do not remove the speedy deletion tag yourself, but don't hesitate to add information to the page that would render it more in conformance with Wikipedia's policies and guidelines. If the page is deleted, you can contact one of these administrators to request that the administrator userfy the page or email a copy to you. Slon02 (talk) 20:53, 20 July 2011 (UTC)
July 2011
[edit]Please stop your disruptive editing. If you continue to add soapboxing, promotional or advertising material to Wikipedia, as you did at Phpsolutions, you may be blocked from editing. Waterfox ~talk~ 21:05, 20 July 2011 (UTC)
Your contributed article, How to create custom plugins in Zend Framework
[edit]If this is the first article that you have created, you may want to read the guide to writing your first article.
You may want to consider using the Article Wizard to help you create articles.
Hello, I notice that you recently created a new page, How to create custom plugins in Zend Framework. First, thank you for your contribution; Wikipedia relies solely on the efforts of volunteers such as you. Unfortunately, the page you created covers a topic on which we already have a page - Zend Framework. Because of the duplication, your article has been tagged for speedy deletion. Please note that this is not a comment on you personally and we hope you will continue helping to improve Wikipedia. If the topic of the article you created is one that interests you, then perhaps you would like to help out at Zend Framework - you might like to discuss new information at the article's talk page.
If you think that the article you created should remain separate, contest the deletion by clicking on the button labelled "Click here to contest this speedy deletion," which appears inside of the speedy deletion ({{db-...}}
) tag (if no such tag exists, the page is no longer a speedy delete candidate). Doing so will take you to the talk page where you will find a pre-formatted place for you to explain why you believe the page should not be deleted. You can also visit the the page's talk page directly to give your reasons, but be aware that once tagged for speedy deletion, if the page meets the criterion, it may be deleted without delay. Please do not remove the speedy deletion tag yourself, but don't hesitate to add information to the page that would render it more in conformance with Wikipedia's policies and guidelines. If the page is deleted, you can contact one of these administrators to request that the administrator userfy the page or email a copy to you. Additionally if you would like to have someone review articles you create before they go live so they are not nominated for deletion shortly after you post them, allow me to suggest the article creation process and using our search feature to find related information we already have in the encyclopedia. Try not to be discouraged. Wikipedia looks forward to your future contributions. Safiel (talk) 02:38, 21 July 2011 (UTC)
- <a href='https://phptechsolutions.wordpress.com/2016/03/14/setup-mongodb-sharding/'>Setup MongoDB Sharding</a>
- <a href='https://phptechsolutions.wordpress.com/2016/02/21/search-engine-with-php-elasticsearch/'>Search Engine with PHP & Elasticsearch</a>
- <a href='https://phptechsolutions.wordpress.com/2015/04/18/getting-started-with-mongodb/'>Getting Started with MongoDB</a>
- <a href='https://phptechsolutions.wordpress.com/2015/04/12/creating-an-android-application-with-phonegap/'>Creating an Android Application with PhoneGap</a>
- <a href='https://phptechsolutions.wordpress.com/2015/04/10/node-js-for-beginners/'>Node.js for Beginners</a>
- <a href='https://phptechsolutions.wordpress.com/2015/01/08/calling-restful-web-services-in-android/'>Calling RESTful Web Services in Android</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/28/status-bar-notification-in-android/'>Status Bar Notification in Android</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/26/android-sqlite-database/'>Android SQLite Database</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/23/how-to-show-alert-dialog-in-android/'>How to Show Alert Dialog in Android</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/23/detect-internet-connection-in-android/'>Detect Internet Connection in Android</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/22/android-relative-layout/'>Android Relative Layout</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/22/android-linear-layouts/'>Android Linear Layout</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/22/how-to-switch-between-activities-in-android/'>How to switch between Activities in Android</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/21/android-sliding-menu-using-navigation-drawer/'>Android Sliding Menu Using Navigation Drawer</a>
- <a href='https://phptechsolutions.wordpress.com/2014/12/01/restful-web-service-with-slim-framework/'>RESTful Web Service with Slim Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2014/11/30/redbeanphp-php-orm/'>RedBeanPHP – PHP ORM</a>
- <a href='https://phptechsolutions.wordpress.com/2014/11/16/android-custom-listview-with-image-and-text/'>Android Custom Listview with Image and Text</a>
- <a href='https://phptechsolutions.wordpress.com/2014/11/12/how-to-connect-android-client-with-php-and-mysql-server/'>How to connect Android (Client) with PHP and MySQL (Server)</a>
- <a href='https://phptechsolutions.wordpress.com/2014/09/09/why-yii-is-the-best-php-framework/'>Why Yii is the best PHP Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2014/03/08/how-to-use-ajax-in-wordpress/'>How To Use AJAX In WordPress</a>
- <a href='https://phptechsolutions.wordpress.com/2014/01/25/understanding-of-wordpress-hooks/'>Understanding of WordPress Hooks</a>
- <a href='https://phptechsolutions.wordpress.com/2014/01/24/understanding-wordpress-theme/'>Understanding WordPress Theme</a>
- <a href='https://phptechsolutions.wordpress.com/2014/01/24/how-to-create-a-custom-wordpress-widgets/'>How To Create A Custom WordPress Widgets</a>
- <a href='https://phptechsolutions.wordpress.com/2014/01/23/create-a-simple-wordpress-plugin/'>Create a Simple WordPress Plugin</a>
- <a href='https://phptechsolutions.wordpress.com/2013/12/17/magento-design-patterns/'>Magento: Design Patterns</a>
- <a href='https://phptechsolutions.wordpress.com/2012/08/19/hello-world-application-in-android/'>Hello World application in Android</a>
- <a href='https://phptechsolutions.wordpress.com/2012/08/12/understanding-a-java-program/'>Understanding a Java Program</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/28/load-balancing-with-apache/'>Load Balancing with Apache</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/14/set-up-a-cloud-webserver-on-amazon/'>Set Up a Cloud Webserver on Amazon</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/caching-php-pages/'>Caching PHP Pages</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/mysql-load-balancing-php-script/'>MySQL Load Balancing PHP script</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/how-do-you-set-up-master-slave-replication-in-mysql/'>How do you set up master-slave replication in MySQL</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/mysql-prepared-statement-in-php/'>MySql Prepared Statement in PHP</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/unbuffered-queries-for-large-data-sets/'>Unbuffered queries for large data sets</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/mysql-optimization/'>MySQL Optimization</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/php-coding-standards/'>PHP Coding Standards</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/php-autoload/'>PHP Autoload</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/the-power-of-jquery-with-ajax/'>The Power of jQuery with Ajax</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/getting-started-with-jquery/'>Getting Started with jQuery</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/multiple-databases-with-zend-framework/'>Multiple Databases with Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/multilanguage-support-in-zend-framework/'>Multilanguage support in Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/problem-with-asynchronous-ajax-calls-and-php-sessions/'>Problem with Asynchronous AJAX calls and PHP sessions</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/overriding-core-blocks-in-magento/'>Overriding Core Blocks in Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-compiler-mode/'>Magento Compiler Mode</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/quick-tips-to-speed-up-magento/'>Quick Tips to Speed Up Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/how-to-setup-multiple-stores-with-magento/'>How To Setup Multiple Stores With Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/setup-multiple-currency-shop-in-magento/'>Setup multiple currency shop in Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/running-direct-sql-queries-in-magento/'>Running Direct SQL Queries in Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-get-list-of-all-manufacturers/'>Magento: Get list of all manufacturers</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/creating-a-custom-theme-in-magento-1-5/'>Creating a Custom Theme in Magento 1.5</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/javascript-multidimensional-arrays/'>JavaScript Multidimensional Arrays</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/show-currency-switcher-in-header/'>Show Currency Switcher in header</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/how-to-change-the-magento-default-welcome-msg/'>How to change the Magento “Default welcome msg!”</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/how-to-display-featured-products-on-magento-store-home-page/'>How To Display Featured Products On Magento Store Home Page</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/disabling-caching-during-site-development-on-magento/'>Disabling Caching during site development on Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-get-best-selling-products/'>Magento: Get Best Selling products</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-turning-on-template-path-hints/'>Magento – Turning on Template Path Hints</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/solutions-when-your-magento-categories-are-not-displaying/'>Solutions when your Magento Categories are not displaying</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-display-new-products-on-the-home-page/'>Magento – Display new products on the home page</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-display-most-viewed-products/'>Magento: Display Most Viewed Products</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/changing-the-default-logo-logo-gif-in-magento/'>Changing the default Logo (logo.gif) in Magento</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/fixing-magento-login-problem-after-a-fresh-installation/'>Fixing Magento Login Problem after a Fresh Installation</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/please-enter-a-valid-url-protocol-is-required-http-https-or-ftp/'>Please enter a valid URL. Protocol is required (http://, https:// or ftp://)</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/magento-system-requirements/'>Magento System Requirements</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/zend-registry-in-zend-framework/'>Zend Registry in Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/how-to-change-zend-framework-default-home-page/'>How to change zend framework default home page</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/registering-zend-database-adapter-in-registry/'>Registering Zend Database Adapter in Registry</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/difference-between-redirect-and-forward-in-zend-framework/'>Difference between redirect and forward in Zend framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/zend-framework-navigation-with-breadcrumbs/'>Zend Framework navigation with breadcrumbs</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/creating-soap-web-service-using-php/'>Creating soap web service using PHP</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/eav-data-model/'>EAV Data Model</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/php-factory-method/'>PHP Factory Method</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/07/cron-jobs-in-zend-framework/'>Cron jobs in Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/zend-framework-router-example/'>Zend Framework Router example</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/how-to-use-memcache-in-the-zend-framework/'>How to use Memcache in the Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/redirect-inside-a-plugin-in-zend-framework/'>Redirect inside a Plugin In Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/zend-framework-switching-layout-files/'>Zend Framework : Switching layout files</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/singleton-design-pattern/'>Singleton Design Pattern</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/ajax-development-with-jquery-and-json/'>Ajax development with jQuery and Json</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/backup-and-restore-mysql-databases/'>Backup and Restore MySQL Databases</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/upgrade-php-5-3-on-redhat-enterprise-linux-rhel/'>Upgrade PHP 5.3 on RedHat Enterprise Linux (RHEL)</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/php-file-upload-security/'>PHP File Upload Security</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/zend-framework-view-helpers/'>Zend Framework View Helpers</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/building-a-simple-zend-framework-acl/'>Building a simple Zend Framework ACL</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/custom-plugin-in-zend-framework/'>Custom plugin in Zend Framework</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/best-practices-for-php-security/'>Best practices for PHP Security</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/common-tips-to-speed-up-website/'>Common Tips to Speed up Website</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/php-code-optimization/'>PHP Code Optimization</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/generate-a-random-password-in-php/'>Generate a random password in php</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/magento-get-base-url-skin-url-media-url-js-url-store-url-and-current-url/'>Magento : Get Base Url , Skin Url , Media Url , Js Url , Store Url and Current Url</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/how-to-get-logged-in-user-details-in-magento/'>How to get logged in user details in Magento?</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/magento-how-to-remove-index-php-from-magento-url/'>Magento: How to remove index.php from magento URL?</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/magento-how-to-remove-all-catalog-products-in-magento/'>Magento: How to remove all catalog products in Magento?</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/install-lamp-on-ubuntu/'>Install LAMP on Ubuntu</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/magento-change-magento-admin-url-path/'>Magento: Change Magento Admin URL / Path</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/magento-removing-white-image-background/'>Magento: Removing white image background</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/06/magento-get-list-of-all-categories/'>Magento: Get list of all Categories</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/05/database-query-examples-in-drupal-7/'>Database Query Examples in Drupal 7</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/05/building-custom-blocks-with-drupal-7/'>Building Custom Blocks with Drupal 7</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/05/drupal-7-simple-ajax-example/'>Drupal 7 Simple AJAX Example</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/05/create-a-simple-form-module-in-druapl-7/'>Create a Simple Form Module in Druapl 7</a>
- <a href='https://phptechsolutions.wordpress.com/2012/07/04/create-your-first-custom-drupal-7-module/'>Create your First Custom Drupal 7 Module</a>
- <a href='https://phptechsolutions.wordpress.com/2012/05/12/java-oops-concepts/'>Java OOPS concepts</a>