Aimeos vs Bagisto and SPA templates

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
kaspar.palgi
Posts: 4
Joined: 26 Aug 2019, 09:22

Aimeos vs Bagisto and SPA templates

Post by kaspar.palgi » 26 Aug 2019, 09:23

Hey! Looking for a Laravel e-commerce solution to start using on various SPA VueJS FE e-shop projects. Aimeos and Bagisto are the 2 left we filtered out. Why would you suggest Aimeos vs Bagisto? Does anyone know good SPA templates for on of them or any good SPA template that we could implement to Bagisto/Aimeos?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Aimeos vs Bagisto and SPA templates

Post by aimeos » 26 Aug 2019, 09:58

Aimeos and Bagisto are similar but far away from being directly comparable. This article does a good job pointing out the differences: https://medium.com/@laravel_ecommerce/b ... 8675e4a29d

We will create a progressive web application (PWA) which will be easy to adapt and extend in the next few months based on Vue.js and Nuxt.js but that won't help you at the moment. Additionally, we are currently creating a simple to use JS library that hides the tedious details of the JSON REST API. You can find the already existing code here:
https://github.com/aimeos/ai-client-jsonapi

You can use it like that:

Code: Select all

const aimeos = new Aimeos({/* OPTIONS result */});

let promise = aimeos.get(url, {}); // from response
let promise = aimeos.post(url, {}); // from response
let promise = aimeos.patch(url, {}); // from response
let promise = aimeos.delete(url, {}); // from response

const product = aimeos.use('product');

let promise = product.search({
	filter: {'&&': [{'==': {'product.type': ['select', ['default', 'select']]}}, {'>': {'product.status': 0}}]},
	f_listtype: 'promotion', // list type (default, promotion, etc.)
	f_search: 'sneaker', // full text search
	f_catid: 123, // category ID(s)
	f_supid: 456, // supplier ID(s)
	f_attrid: [7,8], // all attributes
	f_optid: [5,6,7], // at least one attribute
	f_oneid: {'color': [1,2,3], 'width': [4,5,6]}, // at least one attribute per type
	fields: 'product.id,product.label', // return only this properties
	sort: '-ctime,product.type', // sort result, "-" prefix for descending
	page: {
		offset: 0,
		limit: 48
	}
}, ['text', 'price', 'media', 'attribute']); // 2nd parameter optional

let promise = product.find('demo-article', ['text', 'price', 'media']); // 2nd parameter optional
let promise = product.get('101', ['text', 'price', 'media']); // 2nd parameter optional

promise.then((items, total, links) => {
	items.forEach(item => {
		let value = item.get('product.type', 'default value'); // 2nd parameter optional
		let refItems = item.getRelItems('attribute', 'color', 'default'); // 2nd/3rd parameter optional
		let propItems = item.getPropertyItems(['package-length', 'package-width']); // parameter optional
		let properties = item.getProperties('package-weight');
	});
});
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sauravpathakbd
Posts: 1
Joined: 01 Sep 2019, 15:34

Re: Aimeos vs Bagisto and SPA templates

Post by sauravpathakbd » 01 Sep 2019, 15:44

Bagisto already has PWA as SPA to be used for. You can check it out here: https://bagisto.com/en/laravel-ecommerce-pwa/

Moreover, the PWA is headless. Right now it's designed in Vue.js but you can easily use the laravel backend and design front-end id either React.js or Angular JS. The PWA has a lot to offer and you can easily check the performance report as generated by Lighthouse: https://prnt.sc/oy0tpc

You can also check the free demo of PWA on your smartphone here: https://demo.bagisto.com/pwa/ We are also trying to work out with another range of major features to be included in PWA and with the upcoming major release, you will see much more optimized bagisto.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Aimeos vs Bagisto and SPA templates

Post by aimeos » 02 Sep 2019, 09:07

The performance of the Bagisto PWA isn't really good. Here are the results from Lighthouse for Aimeos and as you can see, Aimeos is 4-5 times faster when comparing to the Bagisto PWA (comparing first meaningful paint):
Aimeos Lighthouse performance
Aimeos Lighthouse performance
aimeos-performance.png (27.46 KiB) Viewed 8177 times
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
kaspar.palgi
Posts: 4
Joined: 26 Aug 2019, 09:22

Re: Aimeos vs Bagisto and SPA templates

Post by kaspar.palgi » 03 Sep 2019, 11:03

We're researching for a best BE e-commerce solution as it's probably waste of time to start re-inventing the wheel and start developing all the e-commerce functionality from scratch that all ready made solutions have. FE we want to do SPA (single page applications) with VueJS so we just need some BE functionality that has a nice API with what FE can communicate. Did some research and currently GetCandy looks most promising. We also considered WP + WooCommerce actually but prefer Laravel is any custom solutions are needed. https://i.imgur.com/nRJtfuO.png

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Aimeos vs Bagisto and SPA templates

Post by aimeos » 03 Sep 2019, 12:00

GetCandy may be an alternative too if you need a backend with a JSON API only but it's still very alpha.

Aimeos supports all Laravel versions from 5.3 to 5.8 and will support 6.0 in the next days when it have been released. The Aimeos standalone application uses Laravel 5.5 LTS but we would recommended using the latest Aimeos Laravel package in your own Laravel application instead for your kind of project.

It's also easy to add new features in Aimeos (every class can be extended, replaced or decorators added) and it already has the roughly the same feature set as Magento but only 1/5 of the code. Aimeos is also perfectly suited if you have complex requirements and want to build highly custom online shops, market places, affiliate/reseller systems or complex B2B applications.

Aimeos uses a PHP library (aimeos-core) and additional composer packages for frontends (HTML, JSON:API, GraphQL in the future) and backends (HTML, JSON:API, etc.). That's different from other Laravel solutions because Aimeos doesn't use Eloquent for performance resons. Here you can see what's possible by using Aimeos/Laravel: laravel.gigacommerce.aimeos.com

To sum up, performance, customizability and easy API usage are the best reasons to choose Aimeos.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
kaspar.palgi
Posts: 4
Joined: 26 Aug 2019, 09:22

Re: Aimeos vs Bagisto and SPA templates

Post by kaspar.palgi » 06 Sep 2019, 10:29

Thanks for a great overview! Btw, is there any templates/themes maybe available? I have Googled actually and none of the major Laravel e-commerce solutions has templates available to download.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Aimeos vs Bagisto and SPA templates

Post by aimeos » 06 Sep 2019, 10:54

There's currently the default template available that replaced the previous template three years ago. In 2020.01 there will be a new template available.

BTW: Laravel 6.0 is supported since yesterday
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
kaspar.palgi
Posts: 4
Joined: 26 Aug 2019, 09:22

Re: Aimeos vs Bagisto and SPA templates

Post by kaspar.palgi » 19 Sep 2019, 12:59

Hope the new template will be SPA (Vuejs) :)

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Aimeos vs Bagisto and SPA templates

Post by aimeos » 19 Sep 2019, 13:13

Yes, Vue.js and Nuxt.js for structuring the application so it will be simple to adapt and extend: https://nuxtjs.org/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply