The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Zen Cart and Gallery2 integration module

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jim Reverend

Posts: 106
Nickname: revjim
Registered: Oct, 2004

Jim Reverend is a PHP Programmer working for a major U.S. telecommunications provider.
Zen Cart and Gallery2 integration module Posted: Nov 30, 2005 8:49 AM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Jim Reverend.
Original Post: Zen Cart and Gallery2 integration module
Feed Title: revjim.net: PHP Section
Feed URL: http://www.contegix.com/xml/rss20/feed.xml
Feed Description: because a Reverend can't be wrong. Rants, raves, code reviews and programming practice discussions regarding all things PHP.
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Jim Reverend
Latest Posts From revjim.net: PHP Section

Advertisement

Interested in a better solution for selling photographs online, I decided to try integrating Gallery2 and ZenCart using ZCG2.

Don’t bother.

I have never used ZenCart nor have I looked at its code, so I can really offer much comment there.

As I’ve mentioned before, Gallery2 isn’t exactly the most exciting, flexible, or well written piece of software I’ve ever seen, but, now that I’ve used it a bit, I’m getting used to it. I still don’t like it, but I’m getting used to it and I can usually make it do what I want relatively easily.

This ZCG2 software is horrible. First of all, it doesn’t work. You follow the simple installation instructions and it throws up an error message. The code is so unreadable that I’m not even about to try to troubleshoot it. The code detected the fact that there was an error, and provided stack trace information on screen, but didn’t bother to tell me why there was an error, or what needed to be done to fix it. If it can trap a specific error, as this did, then it can surely explain it along with the stack trace.

Even if the software did work, based on the installation instructions I can tell how horribly written it is. For instance, it requires that ZenCart use the same database that Gallery2 uses. Why? Isn’t there an API? Even if there isn’t, why not just connect to two different databases? Why make some silly requirement like this when it is so easily avoided?

I’m not going to bother repairing a terrible chunk of code (ZCG2) so that it can integrate with another piece of terrible code (Gallery2) when I could make myself a lot more sane by just starting from scratch.

Read: Zen Cart and Gallery2 integration module

Topic: PHP Framework Consolidation? Previous Topic   Next Topic Topic: eZ components: New competition for Zend PHP Framework

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use