Burts AIS, osCommerce & More Blog
New URL: www.osworld.biz

Friday, January 13, 2006

osCommerce in 2006 -> 2007

Since cutting my ties with osCommerce a few months ago I've not really looked at the osCommerce code as I've been too busy with my own projects to take on any new clients. One of my older clients got in touch yesterday as she had a problem integrating the "Total B2B" contribution on her existing osCommerce website. I logged in and made a few changes and it appears to now be working again, the work only took me around 15 minutes (at the same time I was talking with JC on SkyPE, so you can see the work was not that hard to figure out. Simply a case of finding the missing functions and adding them to the general functions file (I didn't even bother charging for the work done) {shock}. I had actually forgotten just how convoluted the osCommerce code is - a real nightmare of spaghetti code that belongs in 1999, not 2006. Hopefully MS3 will be out soon which should help with this, and osCommerce to become the #1 GPL cart again, at this point I feel #1 belongs to Zen Cart (unfortunately). Anyway, with regards osCommerce MS3, I found this mp3 (26 megs) on which Harald Ponce de Leon [owner] and Christian Lescuyer [lead developer] talk about some interesting stuff (including the plans to have the final osCommerce release in Jan 2007), and some other stuff like how osCommerce started.

New URL: www.osworld.biz - thanks!


At 1/13/2006 10:35:00 PM, Anonymous Chance said...

When are you going to change the title to "Burt's AIS and More Blog" so it matches what people really come here for Gary?

At 1/14/2006 04:01:00 PM, Anonymous Anonymous said...

>> Hopefully MS3 will be out soon which should help with this, and osCommerce to become the #1 GPL cart again

I wouldn't count too much on it. An Alpha version of MS3 has been released to community sponsors. I have not seen the code myself, but from what I've been hearing, the coding looks something like creloaded.

I'm afraid you're not going to see osCommerce without spaghetti code. That is the way it was written back when it was TEP, and now the application is so large that the time needed to refactor the entire thing to an object oriented application would be far too costly.

Unfortunately that is how most open source PHP applications are written, as spaghetti code, without much thought to design.

If you want to get away from that, you really have to go to the commercial sector, where at least some developers try to implement some kind of design into the code. (but then again not all do and there are a number of commercial PHP applications that are hunks of spaghetti code).

At 1/14/2006 10:47:00 PM, Anonymous Anonymous said...

I wonder if Harald's consciencous was holiday the day of that interview; like lambs to the slaughter.

Since the Checkout Process is a child class of the Template class, and none of it componentized, its the same as MS2.2 and I can't see how claims that no core edits will be required is being substantiated.

Its just a Slim Fast version of Spaghetti Junction ...

At 1/16/2006 01:35:00 PM, Blogger Cannuck1964 said...

yskzcfI have been reviewing the code and see that there are many improvements. I do not see any relation to the CRE code base as really all CRE is is osC with a bunch of contributions written for osC plugged in.

The use of classes and a more structure logic is evident and easy to see. The calling in of code when needed only and not for every page load is also seen.

Overall, I would say this newest version is far ahead of either ZC or CRE and when fully complete, I would judge it be be far superior to either of the other two.

Peter M.

At 1/17/2006 12:14:00 AM, Anonymous Kerry M. said...

Hi Gary.
Thank you for putting up the link to the interview with Harald and Christian. Our magazine, Practical eCommerce, published and recorded it. We'll be doing other similar interviews and podcasts, and our new site rolls out in a few weeks.
Take care,
Kerry Murdock
Colorado, USA

At 1/17/2006 02:57:00 AM, Anonymous Anonymous said...

Peter M,

I would damn well hope that it be better than Cre and ZC, osCommerce has had over two years to watch, and improve upon the development that the others have pushed out the door, I have more respect for the other carts because atleast a timely and contiguous development either is (or was) being made.

Regardless of the marginal improvements, the point is that things should be a damn site better by now and its not even half way there yet.

At 1/17/2006 09:50:00 AM, Blogger Gary B. said...

@Kerry; good luck with the magazine and podcasts. It would have been nice had you delved a little deeper into the murky backwaters of osCommerce...it's not all roses over there ;)

Link: Practical eCommerce

@anonymous; please can you provide at least a nickname when posting?

At 1/17/2006 01:09:00 PM, Blogger Cannuck1964 said...

If you think a complete re-write of the DB layer, a compete re-write of all the classes and and re-working of the logic structure, adding in many GUI improvements, added speed increases to name a few of the changes "marginal" then I would hate to have to do any work for you.

These changes bring it forward from either of the other carts and set it apart completely. Since both have there roots in osC, now, they will be totally distinct cart systems, and be able to do development based on what they have in terms of inovation.

While the time to role out the version was a long period of time, it does not bother me like it has so many others.

The project has had bumps and pit falls like any other project, as it matures, I am sure it will be the cart system others will be judged against...

Peter M.

At 1/17/2006 02:01:00 PM, Anonymous anonymous said...

Peter M,

Come off of it, you're making money, based upon their dilapidation.

Cre's stand point is their not a fork, but a feature rich version of oscommerce, i.e. it their previous notion was not to develop yet another shopping cart, but an enhanced cart based on core osCommerce code.

ZC, imo, have made certain significant steps, disctintly different from osCommerce, and it would only take another release or two (see their site), and could very well be the best cart. The key component here is their Business Logic (Checkout Process) is not a derivative of the view Template class.

You might be happy with osCommerce, I can tell you for a fact that hard core developers mock osCommerce because of its spaghetti code.

The point is osCommerce have still got a long way to go to getting the model right, or better, however you want to look at it.

At 1/17/2006 06:03:00 PM, Blogger Cannuck1964 said...

I make money doing custom development, and if the code is older, this does not effect my code work for custom solutions. The solutions I develop have not been made up and are not usually available as contributions, so it really does not matter which version I use.

CRE is a fork, simple, it is not osCommerce and is changed enough to be judged as a fork by many developers I know and talk with.

Your group of hard core developers does not impress me in the least, as you can not even show who you are, nor does your flipant remarks do much for me either. The original osC structure could have been improved upon, but the core code is solid and fully functional.

ZC is a fine cart, and I have no issues with it, but it is just not my choice is all. I am sure when the newest osC release is available to the public, you will have a hard time saying it is spagetti code. I have been coding for many years now, moving from C# to php coding only recently (5 - 6 years ago) and understand code very well thanks.

I have no interest to battle out here the pro's ad cons of either cart/code developed, but just feel you speak without much knowledge of development or code work, and are biased and want to bash osC without much substance to your remarks.

Peter M.

At 1/17/2006 06:41:00 PM, Anonymous Anonymous said...

You're free to think, believe, and portray as you wish, especially while you have $ investment, but the code is the underlying truth, for which it is a shame that things are not that much better given the amount of time and numerous support provided to osCommerce (as Harald says himself, but squanders or is in personal arrogance of), I'm not saying thats it not better.


Post a Comment

<< Home

View Latest Posts

To View Newer Posts - Click Here!