Release 1.0 SBShop — online shop for MODX Evolution

imageWhile raging discussion about what is better Revo or MODX MODX Evo, I once again want to mention that to bury the Evo yet. For those who believe is also still in love the younger generation of this CMS, I would like to present their development, which will transform the MODX Evo into a full-fledged online store.

This decision has its pros and cons, but I sincerely hope that there are those who carried out the work will be interesting and useful.

So this is our first release so maybe you haven't heard about SBShop. Can get a little closer.

what SBShop need?


At that time, when I started working on SBShop, and that was 2.5 years ago, we lacked the really serious decisions to develop an online store on the basis of MODX Evolution. But to move on to other full solutions are not really wanted, because MODX is everything (and flexibility, and simplicity, and power), and I've also been burdened with past experience with Internet shopping in the Studio.

And we needed a solution to develop online store.

In the end, looking at different solutions, I decided that it was best to do their bike to bring their ideas than to struggle with other solutions and to get away from the Evo.

What came out of it — to judge you.

Technical features



It should be noted that not all even of the concept embodied over many things need refining, but the basic capabilities you can appreciate now. Especially this point concerns those who are actively engaged in the development of MODX.

the kernel Extension and data storage

First of all you will find here a new kind of extensions with which you probably have not had the opportunity to meet. SBShop — kernel extension MODX in the first place. This enables you to access any data of the online store using $modx->sbshop. There is also a module to manage and support the plugin with a snippet. This is an important feature that creates some of the nuances.

In addition, it is worth noting that all the sections, products, orders etc. are stored in separate tables. This is the second important feature.

In the end products you can create a over 9000 the amount, as they are not tied to resources in MODX, but it is a standard extension of MODX don't know anything about the store. They can't make it to the menu or to provide search. All require separate solutions.

CNC

It is. Despite the fact that all the data in separate tables you will receive a catalog with the usual CNC as on regular pages.

Caching

Unfortunately we have to admit that in the first version it simply does not. That is, all pages are generated constantly and it is a minus. Requests are not many, and they are all quite light, so the online store can work temporarily so. In addition, while emergency request to add caching has not been received. In the next version it will appear.

API

The kernel extension allows you to use your own API SBShop. This gives you the opportunity to make some additional decisions. For example you can easily make a snippet to make the box about the product directly into the content text page.

Templates

Here you will see the usual placeholders, as elsewhere in MODX. Moreover, these templates are stored in files, allowing more convenient to edit them. Partially used templates, the MODX. Interestingly SBShop templates you can easily make calls any snippet and chunks, as usual.

Documentation

So it is frankly bad. All available time was spent on the development and documentation hands simply do not reach. I, of course, easy to not get around it, but just so immediately to master this decision is not as easy as a normal snippet like Ditto. The only thing that I'm always willing to debate and try to help advice and advice to those who need them.

Internet store


Let's move from the technical aspects and try to understand what SBShop has to offer, if you try to compare it with other solutions for developing online stores.

the
    the
  • manage sections and products
  • the
  • simple control characteristics (really simple)
  • the
  • easy management of images and files for the item
  • the
  • optional accessories for the item
  • the
  • the finished Assembly with a set of accessories
  • the
  • mass adjustment of prices using the markups
  • the
  • order management
  • the
  • export to YML


Why not:

the
    the
  • caching
  • the
  • supported payment systems
  • the
  • including delivery
  • the
  • register user account
  • the
  • integration with 1C


Demo



Done very conventionally, to save time. But in management it's easy to practice and see what the result is.

the

Result


I will appreciate any helpful tips, ideas, suggestions and if someone will adopt this development. All free and open — GPL.

UPD1: Periodically, the admin panel is unavailable (blocked). Some visitors are trained in the lock, as everything is open. Try to minimize the impact of the blocking mechanism.

UPD2: Entrance simplified. Should all work.

UPD3: Demos no more until, as it does not give anyone the rest, which leads to its immediate failure. Apparently this publication someone upset or moved someone the way.
Article based on information from habrahabr.ru

Комментарии

Популярные сообщения из этого блога

March Habrameeting in Kiev

PostgreSQL load testing using JMeter, Yandex.Tank and Overload

Monitoring PostgreSQL with Zabbix