Well we finally have the first beta release of CubeCart v5 and I wanted to write a little something to let you know what to look out for from a developers point of view.
Firstly I’d like to introduce our beta microsite where you can download the package and read some of the commonly asked questions. Head over to http://beta.cubecart.com to find out more.
Many won’t have realised but development started on v5 very soon after CubeCart v4 was released. As a major release it is a complete code rewrite and effectively a brand new ecommerce solution. A huge amount of time and effort has gone into it.
Things to look out for…
Code Hooks
One of the biggest problems with past versions of CubeCart was the inability to upgrade from one version to another if you had made code modifications. We have been around now for approximately seven years and we have accumulated a huge community of developers who have made modifications. Quite of lot of our customer have used these modifications to improve the functionality of their store or sometimes coded their own.
The first beta release introduces the new hooks system which allows a developer to build these code changes outside of the core code. This means it will be possible to upgrade the store to the latest release without having to recode all the modifications which is time consuming and introduces a lot of room for error. In there first beta release there are only a few hooks so it is fairly limited and we would love to invite testers to recommend hook locations. Both the new Google Checkout and PayPal alternate checkout modules have been coded into it using the hooks system to prevent them being a core part of the source code. We will soon be releasing developer documentation explaining how they work.
Skin Sub-styles
CubeCart v5 is the first ecommerce solution we have developed that has skin sub-styles. Many will have noticed Carretta-Soft & Caretta-Bright in CubeCart v4. These are effectively the same skin but with a different colour scheme. The beauty of v5 is that it is possible to make more than one theme derived from the same core HTML files. This is achieved by having a skins theme folder containing different CSS and image folders for each sub-style.
Superior Code Architecture
Although CubeCart v4 only works with PHP5 it hasn’t fully taken advantage of its power. This beta release takes full advantage of true OO PHP with a far superior architecture and we have introduced a number of new classes in order to make it more of an ecommerce framework than just an application.
Cart to Cart Portability
If you are thinking of moving from your current cart solution or you have a client with an existing store then the new 3rd party cart import system may be of interest. Instead of manually adding all the data there are number of import tools allowing you to import the data from a 3rd party cart directly into CubeCart. This may be helpful if you have a new client wishing to move away from a well known existing cart system.
All New Templated Admin Control Panel
The very dated looking and often clunky admin control panel of the older versions of CubeCart have bee replaced with a much more slick and friendly replacement. This is much easier to use for the merchant and the PHP has been separated from the HTML using templates much like on the front end. This allows for the possibility for admin skins. If you are an agency deploying large quantities of CubeCart stores to your clients this may be of interest. Merchants will love the new “ajaxy” features.
Improved Accessibility & JS Libraries
We have dropped Scriptaculous for the much loved and hugely popular JQuery. Using this the HTML output has been massively improved to be more accessible. Our native image capture has been replaced with Recaptcha only.
Native PHP Sessions
We have moved back to using native PHP sessions in place of cookies for session management. Some people are aware of the security issues related to the storage of PHP session data in shared servers temp folders. Also the fact that on some shared server environments all your customers will get logged out as Apache restarts. This sometimes happens if a new domain or subdomain is added to the server. In version 4 our solution was to move to cookies linking them to the IP and browser to prevent session hijacking. Headaches followed mainly due to complex networks and the despicable nature IE’s cookie handling. Grrrr… don’t get me started. Anyhow the use of native PHP sessions will improve browser session compatibility and we have put measures in place to improve their security and to avoid Apache restart boot outs.
More Features
The first release of CubeCart v5 has a great deal of new features that have not been available in older versions. This is great as it will reduce the need to build hooks or make code changes in order to meet your or your clients requirements. We are aware that for some there are still a few order winning features missing and for this reason we have published the 5.1 roadmap on the beta microsite.
And more…
So much more… we hope you like it and we will look forward to haring your feedback, bug reports and notifications of undocumented features.







