on 8/9/03 11:44 pm, Aparajita Fishman at [EMAIL PROTECTED] wrote:

> Good question. To be honest, I use osCommerce, an open source PHP/mySQL
> ecommerce package for my site. I have also done ecommerce in Active4D
> for clients, but it isn't generic enough to be reused.

I had to do some debugging for someone running osCommerce recently and I
didn't find it that generic although it is pretty cool.  Maybe it was just
the way it had been implemented, but the way the PHP code was all confused
with the HTML drove me mad (then again, the guy who implemented always does
that instead of using something like Smarty to separate the two).

I know people call PHP a template engine in itself, but we tend to separate
source from HTML as much as possible to make our code that much more
reusable, and when you add the caching benefits of Smarty, you get extremely
good performance on sites which don't have to generate all the page content
for every request.

And I don't think it's a good idea to compare 4D with SQL based databases,
as all those 4D-only developers would get jealous once they realised what
they're missing out on ;-)

If you know PHP and 4D, you'll have very little difficulty getting to grips
with A4D though.  If you know A4D, a bit of C and Perl, you wont have much
difficulty getting to grips with PHP too.  The fact that variables are all
prefixed with a $ sign in PHP helps too.

Best,

Mark

-- 
Mark Mitchenall
StandingWave Ltd   `Complete 4D Web Hosting Solutions

Direct :=  +44 (0)20 8452 3031
Mobile :=  +44 (0)7850 847 543
Email  :=  [EMAIL PROTECTED]
Home   :=  http://www.standingwave.co.uk/


_______________________________________________
Active4d-dev mailing list
[EMAIL PROTECTED]
http://aparajitaworld.com/mailman/listinfo/active4d-dev

Reply via email to