Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@ushainformatique ushainformatique released this 30 Jun 08:38
· 30 commits to master since this release

This is a major release in which the architecture for the application is completely changed. This release is developed on YiiChimp framework(evolved from usniframework).
The most significant change in architecture for YiiChimp is related to view rendering and has been propagated to WhatACart.

  • In YiiChimp simple php file has been used as in Yii for view rendering rather than classes which gives us the following advantages
  • It separates the view logic from the presentation php and html part. Now we can use the advantages provided by named view approach in Yii for example if you provide the view name with //, the corresponding view file path would be @app/views/ViewName.
  • We could use native theming in Yii.
  • It would be easy for the designers to create a new theme as they don't have to spend time looking into view classes. They can simply work into the php files.
  • The methods called from view files using Util classes carries some business logic which is not the best practice and has been removed. We are now populating the data completely in the backend and simply rendering them on the front end.
  • The Business Manager(service component) has been introduced in YiiChimp at application and module level. This would work inside model component in the MVC architecture.
  • Data Transfer Object(DTO) has been added in YiiChimp which would be used to transfer data between controllers, business managers and views.

New Features

  • Enable merchants to sell digital products
  • Facilitate merchant to see as how many users are logged into the store at the moment and make it configurable for the store.
  • Activity tracking in the system for customer

Improvements

  • Storing as how many times product detail has been viewed
  • Remove user role table builder and its usages
  • Tax rate table has been removed, fields type and value is incorporated in tax rule table
  • New fields has been added to product table to sell different type of products for example ISBN number can be added and displayed in front if books has to be sold.
  • Shipping tables would be installed only if the method is activated
  • Payment table would be installed only if payment method is activated
  • With paypal standard settings, default value for urls have been set to make it easy for users.
  • AuthManager has been improvised so that it could be used as Yii has suggested for check user access.
  • Runtime folder has been kept different for backend and frontend app. Only cache would be common for both backend and frontend.
  • Folder structure has been changed for example table builders and data managers have been moved under db folder at application and module level.
  • Bugs called out in https://bitbucket.org/ushainformatique/whatacart has been fixed as part of the release.