Book Image

Magento PHP Developer????s Guide, 2nd Edition

By : Allan MacGregor
Book Image

Magento PHP Developer????s Guide, 2nd Edition

By: Allan MacGregor

Overview of this book

Table of Contents (16 chapters)
Magento PHP Developer's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Index

A

  • a2dismod command
    • about / Putting everything together
  • a2dissite command
    • about / Putting everything together
  • a2enmod command
    • about / Putting everything together
  • a2ensite command
    • about / Putting everything together
  • Access Control List (ACL) / Setting up the API credentials for XML-RPC/SOAP
  • adminhtml
    • extending / Extending Adminhtml
    • configuration / Back to the configuration
  • Apache
    • about / Installing Apache2
  • Apache2
    • installing / Installing Apache2
  • APT (Advance Packaging Tool) / Booting our virtual machine

B

  • <block> node
    • about / Dissecting a layout file
  • backend development
    • adminhtml, extending / Extending Adminhtml
  • blocks
    • about / Blocks and layouts
  • branching system / Git

C

  • CamelCase / Ensure that what you see is what you get
  • capitalized text / Ensure that what you see is what you get
  • catalog_product_entity_varchar table
    • value_id column / Retrieving the data
    • entity_type_id column / Retrieving the data
    • attribute_id column / Retrieving the data
    • store_id column / Retrieving the data
    • entity_id column / Retrieving the data
    • value column / Retrieving the data
  • collection methods
    • addAttributeToSelect / Working with Magento collections
    • addFieldToFilter / Working with Magento collections
    • addAttributeToFilter / Working with Magento collections
    • addAttributeToSort / Working with Magento collections
    • addStoreFilter / Working with Magento collections
    • addWebsiteFilter / Working with Magento collections
    • addCategoryFilter / Working with Magento collections
    • addUrlRewrite / Working with Magento collections
    • setOrder / Working with Magento collections
  • complex system / Using Direct SQL
  • configuration scopes, Magento
    • global / Websites and store scopes
    • website / Websites and store scopes
    • store / Websites and store scopes
    • store view / Websites and store scopes
  • controllers
    • IndexController, creating / IndexController
    • SearchController, creating / SearchController
    • ViewController, creating / ViewController
  • Core API
    • about / The Core API
    • XML-RPC / XML-RPC
    • SOAP / SOAP
    • RESTful API / The RESTful API
    • using / Using the API
    • credentials, setting for XML-RPC/SOAP / Setting up the API credentials for XML-RPC/SOAP
    • REST API credentials, setting up / Setting up the REST API credentials
    • data, loading / Loading and reading data
    • data, reading / Loading and reading data
    • data, updating / Updating data
    • product, deleting / Deleting a product
    • extending / Extending the API
    • Rest API, extending / Extending the REST API
    • securing / Securing the API

D

  • @doNotIndexAll annotation / The anatomy of a test case
  • @doNotIndex [index_code] annotation / The anatomy of a test case
  • data
    • saving / Models and saving data
  • Direct SQL
    • using / Using Direct SQL
    • read connection, testing / Reading
    • write connection / Writing
  • distribution
    • about / Distribution
    • extension, packaging / Packing our extension

E

  • e-commerce platform
    • about / Zend Framework – the base of Magento
  • EAV model
    • about / The EAV model, What is EAV?
    • Entity / What is EAV?
    • Attribute / What is EAV?
    • Value / What is EAV?
    • data, retrieving / Retrieving the data
  • EAV objects
    • types / What is EAV?
  • EAV table
    • entity_id field / What is EAV?
    • entity_type_id field / What is EAV?
    • attribute_set_id field / What is EAV?
    • type_id field / What is EAV?
    • sku field / What is EAV?
    • has_options field / What is EAV?
    • required_options field / What is EAV?
    • created_at field / What is EAV?
    • updated_at field / What is EAV?
  • eav_attribute table
    • attribute_id field / What is EAV?
    • entity_type_id field / What is EAV?
    • attribute_code field / What is EAV?
    • backend_model field / What is EAV?
    • backend_type field / What is EAV?
    • backend_table field / What is EAV?
    • frontend_model field / What is EAV?
    • frontend_input field / What is EAV?
    • frontend_label field / What is EAV?
    • source_model field / What is EAV?
  • Ecomdev_PHPUnit
    • about / Tools and testing frameworks
  • Event/Observer pattern
    • about / Events and observers
    • Event dispatch / Event dispatch
    • Observer bindings / Observer bindings
  • expectations / The anatomy of a test case
  • extension
    • publishing / Publishing our extension
  • extension, packaging
    • about / Packing our extension
    • Package Info / Package Info
    • Release Info / Release Info
    • Authors / Authors
    • Dependencies / Dependencies
    • Contents / Contents
    • Load Local Package / Load Local Package

F

  • factories
    • about / The XML module configuration
  • factory methods
    • about / Factory names and functions
    • implementing / Factory names and functions
  • fetchAll() method / Reading
  • fetchCol() method / Reading
  • fetchOne() method / Reading
  • Fixtures are Yet Another Markup Language (YAML) files / The anatomy of a test case
  • flexible
    • about / Zend Framework – the base of Magento
  • folder structure, Magento
    • app / The Magento folder structure
    • js / The Magento folder structure
    • media / The Magento folder structure
    • lib / The Magento folder structure
    • skin / The Magento folder structure
    • var / The Magento folder structure
    • Block / The Magento folder structure
    • controllers / The Magento folder structure
    • Controller / The Magento folder structure
    • etc / The Magento folder structure
    • Helper / The Magento folder structure
    • Model / The Magento folder structure
    • sql / The Magento folder structure
    • data / The Magento folder structure
  • form widget
    • about / The form widget
    • data, loading / Loading the data
    • data, saving / Saving the data
  • functional testing
    • about / Functional testing
  • functional testing with Mink
    • about / Functional testing with Mink
    • Magento Mink installation / Magento Mink installation and setup

G

  • getChildHtml() function / The grid widget
  • Git
    • about / Git
    • URL / Git
  • GoutteDriver
    • about / Functional testing with Mink
  • grid widget
    • about / The grid widget
    • registries, managing / Managing the registries
    • permissions / Permissions and ACL
    • ACLs, enabling / Permissions and ACL
    • updating in bulk, with mass actions / Updating in bulk with mass actions

H

  • handle node
    • about / Dissecting a layout file
  • HTTP status codes / The RESTful API
  • HTTP verbs / The RESTful API

I

  • IndexController
    • creating / IndexController
    • blocks, defining / IndexController blocks and views
    • views, defining / IndexController blocks and views
  • Integrated Development Environment (IDE)
    • about / Installing Vagrant
    • selecting / Choosing an IDE
  • Interactive Magento Console (IMC) / Creating the models

L

  • @loadExpectation annotation / The anatomy of a test case
  • @loadFixture annotation / The anatomy of a test case
  • LAMP (Linux, Apache, MySQL, and PHP)
    • about / LAMP from scratch
    • implementing / Putting everything together
  • layouts
    • about / Blocks and layouts
  • license types
    • reference / Package Info

M

  • Magento
    • folder structure / The Magento folder structure
    • modular architecture / Modular architecture
    • routing and request flow / Routing and request flow
    • websites and store scopes / Websites and store scopes
    • configuration scopes / Websites and store scopes
    • factory methods / Factory names and functions
    • Event/Observer pattern / Events and observers
    • naming convention, for modules / Hello Magento!
    • about / Hello Magento!
    • testing / Testing Magento
    • configuration / The configuration
    • controller / The controller
    • route, testing / Testing the route
    • reference, for system requirements / LAMP from scratch
  • Magento, extending
    • about / Extending Magento
    • scenario / Scenario
    • features / Features
    • further improvements / Further improvements
  • Magento2
    • URL / Working with a version control system
  • Magento CE 1.3 / SOAP
  • Magento CE 1.7 / The RESTful API
  • Magento collection
    • about / Working with Magento collections
    • working with / Working with Magento collections
    • product collection, obtaining from specific category / Get product collections only from a specific category
    • products, adding / Get new products added since X date
    • bestseller products, getting / Get bestseller products
    • product collection, filtering by visibility / Filter the product collection by visibility
    • products without images, filtering / Filter products without images
    • multiple sort orders, adding / Add multiple sort orders
  • Magento Developer's Guide (Mdg) / Hello Magento!
  • Magento Model anatomy
    • about / Magento Model anatomy
    • simple models / Magento Model anatomy
    • EAV models / Magento Model anatomy
    • Model class layer / Magento Model anatomy
    • Resource Model class layer / Magento Model anatomy
    • Model Collection class layer / Magento Model anatomy
    • methods / It's magic – methods
  • Magento PHP
    • URL / Using the API, Extending the API
  • Magento Test Automation Framework
    • about / Tools and testing frameworks
  • Magento test install
    • running, with sample data / Creating the models
  • Magento version of MVC
    • about / The Magento version of MVC
    • models / Models
    • views / Views
    • layout file, dissecting / Dissecting a layout file
    • controllers / Controllers
  • Magento_Mink
    • about / Tools and testing frameworks
  • Magento_TAF
    • about / Tools and testing frameworks
  • Mage_Adminhtml / Extending Adminhtml
  • Magicento / Choosing an IDE
  • maintainable
    • about / Zend Framework – the base of Magento
  • merging / Git
  • Mink
    • about / Functional testing with Mink
  • Mink tests
    • creating / Creating our first test
  • Model-View-Controller (MVC) framework / The controller
  • Model-View-Controller (MVC) paradigm
    • about / Zend Framework – the base of Magento
  • models
    • creating / Models and saving data, Creating the models
  • models, Magento MVC
    • about / Models
    • simple models / Models
    • Entity Attribute Value (EAV) models / Models
  • modular architecture, Magento
    • about / Modular architecture
    • autoloader / Autoloader
    • code pools / Code pools
  • module configuration files
    • creating / Hello Magento!
    • refreshing / Hello Magento!
  • MySQL
    • installing / Installing MySQL
  • MySQL Workbench
    • URL / What is EAV?

N

  • NetBeans / Choosing an IDE
  • Netz98/n98-magerun
    • about / Creating the models
    • URL, for downloading / Creating the models

O

  • OAuth 1.0 protocol / Setting up the REST API credentials
  • Object Relation Mapping (ORM) / IndexController

P

  • PHP
    • about / Installing PHP
    • installing / Installing PHP
  • PHP Hypertext Processor
    • about / Installing PHP
  • PHPMyAdmin
    • URL / What is EAV?
  • phpmyadmin
    • about / Setup resources
  • PhpStorm / Choosing an IDE
  • products
    • adding, to registry / Adding products to the registry

R

  • <reference> node
    • about / Dissecting a layout file
  • red-green-refactor cycle
    • about / Test-driven development
  • registry
    • products, adding to / Adding products to the registry
  • registry entity
    • about / Models and saving data
  • registry item
    • about / Models and saving data
  • registry model
    • about / Models and saving data
  • registry type
    • about / Models and saving data
  • regression testing
    • about / Unit testing
  • resource class
    • creating / Creating the models
  • Resource Models
    • about / It's magic – methods
  • Return Merchandise Authorization (RMA) system / What is EAV?
  • RMA item / What is EAV?
  • routes, setting up
    • about / Setting up our routes

S

  • SahiDriver
    • about / Functional testing with Mink
  • script types
    • Install / Creating the upgrade script
    • Upgrade / Creating the upgrade script
    • Data / Creating the upgrade script
  • SearchController
    • creating / SearchController
    • views, defining / SearchController blocks and views
    • blocks, defining / SearchController blocks and views
  • Selenium2Driver
    • about / Functional testing with Mink
  • SeleniumDriver
    • about / Functional testing with Mink
  • setup resource
    • about / Setup resources
    • defining / Defining a setup resource
    • upgrade script, creating / Creating the upgrade script
  • SOAP
    • about / SOAP
    • URL / SOAP
  • SQL
    • about / Setup resources
  • SSH / Getting VirtualBox
  • Stock Keeping Units (SKUs) / Loading and reading data
  • Subversion (SVN) / Subversion

T

  • @test annotation / The anatomy of a test case
  • test-driven development
    • about / Test-driven development
  • testing, Magento
    • unit testing / Unit testing
    • regression testing / Regression testing
    • functional testing / Functional testing
    • test-driven development / Test-driven development

U

  • unit testing
    • about / Unit testing
  • unit testing, with PHPUnit
    • about / Unit testing with PHPUnit
    • Ecomdev_PHPUnit, installing / Installing Ecomdev_PHPUnit
    • configuration, setting up for extension / Setting up the configuration for our extension
    • anatomy of test case / The anatomy of a test case
    • unit test, creating / Creating a unit test
  • upgradable
    • about / Zend Framework – the base of Magento

V

  • Vagrant
    • about / Up and running with Vagrant
    • installing / Installing Vagrant
  • Varien
    • about / Zend Framework – the base of Magento
  • Varien_Object class / It's magic – methods
  • version control concepts
    • branching / Working with a version control system
    • merging / Working with a version control system
    • tagging / Working with a version control system
  • version control system
    • working with / Working with a version control system
  • version control systems (VCS)
    • about / Version control systems
    • Subversion (SVN) / Subversion
    • Git / Git
  • ViewController
    • creating / ViewController
    • blocks, defining / ViewController blocks and views
    • views, defining / ViewController blocks and views
  • view layer, Magento MVC
    • about / Views
    • layouts / Views
    • blocks / Views
    • templates / Views
  • VirtualBox
    • URL / LAMP from scratch
    • about / Getting VirtualBox
    • obtaining / Getting VirtualBox
  • VirtualBox Disk Image / Getting VirtualBox
  • virtual machine
    • booting / Booting our virtual machine

W

  • Web Services Description Language (WSDL) / SOAP

X

  • XML-RPC
    • about / XML-RPC
    • URL / XML-RPC
  • XML module configuration
    • about / The XML module configuration
  • XML nodes, layout blocks
    • handle / Dissecting a layout file
    • <reference> node / Dissecting a layout file
    • block> node / Dissecting a layout file

Y

  • YAML markup
    • URL / The anatomy of a test case

Z

  • Zend Framework
    • about / Zend Framework – the base of Magento
    • URL / Zend Framework – the base of Magento
  • zero-downtime deployment
    • about / The road toward zero-downtime deployment
    • tests, writing / Making it right from scratch
    • development environment, example / Ensure that what you see is what you get
    • Magento naming conventions / Magento naming conventions
    • code, finalizing / Ready means ready
  • ZombieDriver
    • about / Functional testing with Mink