LemonStand Version 1 Has Been Discontinued
This documentation is for LemonStand Version 1. LemonStand is now offered as a cloud-based eCommerce platform.
You can try the new LemonStand and learn about upgrading here.
Extending LemonStand
LemonStand is a modular web application based on the PHP Road framework. PHP Road is an object-oriented PHP framework which includes many modern web application programming approaches like the MVC (Model-View-Controller), and ActiveRecord (a way to work with database tables). PHP Road also have some unique features, like behaviors and deferred database bindings, which allow to increase the development productivity. The framework has been developed before we started working on LemonStand and we were improving it during the application development. Specific features of the framework will be explained in this guide.
- Understanding LemonStand Modules - describes the module anatomy and explains what tasks you solve with custom modules
- Guide to Build a Simple LemonStand Module - describes a process of developing a simplest LemonStand module
- Programming Module CMS Actions - explains how your modules can add new items to the CMS action list and extend the front-end website with new functions
- Using Module Access Points - explains how you can register a module access point for invoking module features them through specific URLs
- Working with the Database - describes methods of working with database tables and creating model classes
- Creating and Updating Database Tables - explains how you can create or update module-specific database tables
- Creating Data Relations - explains how you can organize data relations using ActiveRecord - "many to many" and "one to many"
- Handling LemonStand Events - explains how you can customize LemonStand by handling system events
- Guide for Developing a Payment Module - explains how you can implement integration with payment gateways not supported by native LemonStand payment modules
- Using a Redirection Integration Method - explains how you can implement payment modules for redirection integration methods like PayPal Standard
- Using a Server-to-Server Integration Method - explains how you can implement payment modules for server-to-server integration methods like PayPal Pro
- Extending Existing Models - explains how you can add new fields to the customer, product and order models
- Extending Models with Related Columns - explains how you can add data relations in run-time and extend existing models with columns which refer to another model
- Guide to Developing Shipping Modules - explains how you can implement integration with shipping services not supported by native LemonStand shipping modules.
- LemonStand Module Templates - this section contains some module templates which you can use as a basement for your own modules
- Accessing LemonStand API from third-party scripts - explain how you can access any LemonStand class and function from a third-party PHP script
- Extending the Discount Engine - explains the process of developing new discount engine conditions and actions.
- Authoring for LemonStand Marketplace - explains the process of becoming an author and developing themes and modules for the Marketplace.
- Becoming an Author - explains the process of becoming a Marketplace author.
- Creating Themes for LemonStand Marketplace - explains the process of creating themes for LemonStand Marketplace.
- Creating Modules for LemonStand Marketplace - explains the process of creating and publishing modules on Marketplace.
- Creating a Module Settings Page - explains how to add new links to the System/Settings and My Settings pages and how to implement settings forms.
Next: Understanding LemonStand Modules
Previous: Reference
Return to Developer Guide