Git Product home page Git Product logo

extensionstarter's Introduction

Akeneo PIM extension starter

[Experimental] Starter kit to quickly setup your own Akeneo PIM Extension

Build Status

Requirements

ExtensionStarter Akeneo PIM Community Edition
v0.2.* v1.6.*
v0.1.* v1.5.*

Using this starter kit

Context

Our extension is meant to work as part of an existing PIM installation, thus we will use PIM Community Standard Edition to host the connector. This example host container will be at /tmp/pim-standard-edition on our filesystem.

Let's say you work for the WorldCompany and the connector name is WorldExtension. A widely used practice is to use the company name as the root namespace.

COMPANY_NAME=WorldCompany
PIM_PATH=/tmp/pim-standard-edition
EXTENSION_NAME=WorldExtension

Initialisation of the Standard Edition

Create a new host project with the Standard Edition

composer create-project --prefer-dist akeneo/pim-community-standard ${PIM_PATH} "1.5.*@stable"

This will download the standard edition without git informations.

At this point, you have three options to develop your extension:

  • work directly in the standard edition src directory
  • work in the standard edition src directory via symbolic link
  • work in the vendors directory

Workin in the src directory

In this kind of organization, we will work inside the host project. You can work in this mode when you really start your project from scratch. And when you will have made some commmits, you will probably switch working with a symlink or in the vendor directory.

pim-standard-edition
└── src
    └── WorldCompany
        ├── WorldConnectorExtension.php
        ├── composer.json
        └── ...

The complete process is detailled in the install-standalone.md documentation.

Workin with a symbolic link

TODO

Working in the vendor directory

If our extension need some composer dependencies, we will have no choice but to work in the vendor to make it work with our Standard Edition installation.

Best practices

We maintain an online documentation about [best practices for extensions development] (http://docs.akeneo.com/latest/reference/best_practices/reusable_bundle.html).

## Features checklist We also maintain a checklist of features you should check for a connector or an extension : doc/checklist.md

Other documentation

extensionstarter's People

Contributors

jmleroux avatar ronanguilloux avatar mickaelandrieu avatar fitn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.