Page 3 of 4

Posted: Thu Aug 03, 2006 10:47 am
by Benjamin
LOL, I believe Zen-Cart is based on the osCommerce Source code.

Posted: Thu Aug 03, 2006 10:55 am
by Luke
astions... Ive been thinking about it, and I think I really would like to help you with the commerce solution. I need to finish up a few personal projects, but that sounds like it would be an excellent way to build up my skills and also get a commerce solution that fits my needs (without a bunch of bloat)

Posted: Thu Aug 03, 2006 11:05 am
by Benjamin
Rock on dude Image

Posted: Thu Aug 03, 2006 11:11 am
by Luke
:lol: nice

Posted: Thu Aug 03, 2006 11:25 am
by GM
The Ninja Space Goat wrote:That isn't what I'm talking about... let me post some of the code I have to deal with hang on...
Fair enough - that's pretty awful :)

Posted: Thu Aug 03, 2006 11:47 am
by AKA Panama Jack
Now that is why you need to use a Template Engine. :D It would make following the code so much easier. :D

(makes a quick glance down at my signature)

Posted: Thu Aug 03, 2006 11:50 am
by Luke
I'm using smarty right now... I took a quick look at template lite once, but I don't remember exactly what advantages it had over smarty (other than obviously it's lite weight)

Posted: Thu Aug 03, 2006 12:13 pm
by kbrown3074
I've had to rework/re-engineer too many old legacy crap programs to count for my company. Myself and a co-worker converted an old crap fox pro dos program to a php web app that took a good 4 months just to decode the old <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>. The worst part about it was that there wasnt any client documentation so we had to reverse engineer the beotch just to figure out what it did.

Posted: Thu Aug 03, 2006 12:17 pm
by Benjamin
Worst thing I have had to fix was to rebuild a large database schema using only the ASP source code, and convert it to PHP at the same time. The client canceled the web site, 3 months later wanted it back. By then the database had been deleted but there we found a backup copy of the web site. That was NOT fun.

Posted: Thu Aug 03, 2006 2:35 pm
by nickvd
The Ninja Space Goat wrote:astions... Ive been thinking about it, and I think I really would like to help you with the commerce solution. I need to finish up a few personal projects, but that sounds like it would be an excellent way to build up my skills and also get a commerce solution that fits my needs (without a bunch of bloat)

I would love to help as well.. I've been struggling far too long to get used to zencart's monolithic configuration options and asinine templating system. All my clients want, is a simple cart with categories/images and shipping/tax calculations done properly (zencart IS great in this area, if configured correctly). There is a project that is in closed beta called cssCart, but I havn't heard anything from them regarding a open beta or a release in quite some time.

My time is a little sparse right now, but if we can get a bunch of regulars here working on it, I know we can come up with a winner.

(sorry for the OT post ;) but i really want to get away from zc)

Posted: Thu Aug 03, 2006 2:55 pm
by MrPotatoes
astions wrote:LOL, I believe Zen-Cart is based on the osCommerce Source code.
it is. but it's nicer and less gay. but it's still horribly bloat and terribly slow. the worst part is that no matter how they try to talk it up it's still the absolute worst looking code i've ever seen in my life. ever. bleh. and the code is just not organized in a fashion that i would do but that's my own preferance

secondly, the forums are ok but they could be alot better IMO

Posted: Fri Aug 04, 2006 3:06 am
by GM
In my old job as a Domino Developer, I had to go through the code written for our HR system, written by external contractors from India. I have never seen such convoluted logic in my life...

Here's an example (language is LotusScript - think VB script with database interaction)

Code: Select all

view = db.GetView("People");
doc = view.GetFirstDocument();

While Not doc Is Nothing
    If Not(doc.UserName(0) <> "Admin" And doc.UserName(0) <> "Tester") Then
        // do Admin / Tester stuff
    Else 
        // do normal stuff
    End If
Wend
The scripts were full of logical nightmares like that: If Not something Not Equal something else Then

It took me and a colleague 6 months to understand what some of the scripts did.

Posted: Fri Aug 04, 2006 3:11 am
by Benjamin
Since I started writting classes I look at my old code and think ack :x

Posted: Fri Aug 04, 2006 4:04 am
by shiznatix
astions wrote:Since I started writting classes I look at my old code and think ack :x
happens to me every 6 months or so.

dfvbdfgdfgdg

Posted: Fri Aug 04, 2006 6:31 am
by bvrao
infolock wrote:TNSG: dude, you pretty much described my first year here at my job.. Legacy code that just isn't suitable to touch. I would recommend the phrase "Rewrite it and forget it ever happend".

Otherwise, you are going to find it will take longer to debug it than it would have taken to just rewrite/redesign the bugger.
[/url]