Post by Daniel » Mon Nov 08, 2010 6:11 pm

if you give me sopme working examp-les, a list of required hooks we might be able to start developing something.


$hook->add('add_to_cart');
$hook->add('remove_cart');
$hook->add('load_template');


etc..

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Qphoria » Mon Nov 08, 2010 10:34 pm

oneilldesign wrote:
Qphoria wrote:And finally that damn url class!!!
:o I thought you loved that!!!
I do love it! I'd love for it to be back!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SapporoGuy » Mon Nov 08, 2010 10:57 pm

Gonna jump around on my answer so please forgive. :drunk:

Yeah, I know that opencart is MVC-L ... I have spent the last week buried in it trying to 1. get to grips with php5 and objective programming 2. trying to build multiple functionality into the system 3. pulling my hair out jumping between multiple files to do things 4. learned that I would like to isolate all language declarations to either a db like structure (I did this before osc) or at least put declarations into 1 file with out having to re-reference them in the controller.

What I mean by a "framework" is like the example I gave of Modx. but in this case, a cart but yet a cart that can expand and fit to most users needs without having to get under the hood to make adjustments that will probably break on the next update.

Since Qphoria understands where I'm coming from, please re-read his posts on the page before this.

I DO realize that this is no small feat and that the core code will have to be re-written up to 50-60%. On top of which, the way the cart reacts and interacts with "plugin / mods / extensions" will also have to be thought out.

Since I realize this, I did not bring up this topic lightly. I have a pretty good understanding that this is not something to take lightly.

However ;D
The benefits that opencart would reap will surpass the amount of effort that will be required.
1. 3rd party developers will stick around since they don't have to maintain and re-work all their hard work just because something got changed slightly.
2. I don't think I have come across such a cart yet. I had this discussion years ago when Zen was still a few renegads yet they wanted bloat because that was what their core developers wanted. OSC even with the alphas and betas is slowly becoming objectified. Cre-loaded is just that loaded. OpenCart is the first cart for me that is not a osc derivative.
3. Breaking the core of opencart down into pieces will allow updates of areas like the routing, navigation and what not that much easier. On top of which, this may allow OC to integrate with CMS/CMS frameworks -- fame.
4. Users would be able to start with a base core framework and add-in any module that fits their needs rather than try to maintain something that will break with an update.
5. This will make OC, KISS compliant.
6. This would also be a great time to comment code ;)
7. did I say already that OC will become a force to reckon with? :laugh:

I posted my comment yesterday and by accident came across this on techcrunch : http://techcrunch.com/2010/11/07/buildi ... nterprise/
The article goes into simplicity and the difficulty of making something simplistic.

But people want 1.5 !?!
So, do I but why not just continue with 1.4.x for bug fixing and security or if it's already to alpha release it and make it EOL. Then move your efforts to a 2.0 framework. lolo, that sounds a bit to much web 2.0 :choke:

hmmm ... maybe some of these last few comments should be moved to a new thread / forum. Call it bluesky or something ...

Also, I'd be willing to help as much as possible ...

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by SapporoGuy » Mon Nov 08, 2010 10:57 pm

was it that bad?
The url class ...

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by Qphoria » Mon Nov 08, 2010 11:18 pm

Daniel wrote:if you give me sopme working examp-les, a list of required hooks we might be able to start developing something.


$hook->add('add_to_cart');
$hook->add('remove_cart');
$hook->add('load_template');


etc..
Absolutely:
$hook->add('cart_add');
$hook->add('cart_remove');
$hook->add('cart_update');
$hook->add('cart_clear');

$hook->add('load_template');
$hook->add('load_language');
$hook->add('load_model');

$hook->add('customer_create');
$hook->add('customer_login');
$hook->add('customer_logout');

$hook->add('address_change');
$hook->add('address_edit');

$hook->add('checkout_guest');
$hook->add('checkout_shipping');
$hook->add('checkout_payment');
$hook->add('checkout_confirm');

$hook->add('currency_set');

$hook->add('order_confirm');
$hook->add('order_update');
That would be a start.. we could always easily add more later once the concept is in place

Then I suppose

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Mon Nov 08, 2010 11:18 pm

SapporoGuy wrote:was it that bad?
The url class ...
You are all misunderstanding me.. I mean I want it back!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SapporoGuy » Mon Nov 08, 2010 11:43 pm

lolo ... ok, why was it so good?

as for the hooks ... ummmm, gonna want to hook / observe basically the whole cart (front and back) :o
By doing the admin too, we could move forward to remove lots of those tables, add some ext fun like that extension that is for sale and such.

While I'm here ... also look into developing the download through the admin too.

I know that this is a huge amount of change in the code ... :-[

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by Qphoria » Mon Nov 08, 2010 11:57 pm

SapporoGuy wrote:lolo ... ok, why was it so good?
Here's why:
http://forum.opencart.com/viewtopic.php?f=10&t=21010

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by SapporoGuy » Tue Nov 09, 2010 12:36 am

oh gee!
Yes, I'm on the boat if it does all that but ... what was the reason it was cut?

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by gocreative » Tue Nov 09, 2010 6:12 am

Qphoria wrote:
SapporoGuy wrote:was it that bad?
The url class ...
You are all misunderstanding me.. I mean I want it back!
I understood... my comment was tongue-in-cheek.

User avatar
Active Member

Posts

Joined
Tue Jan 12, 2010 5:46 pm

Post by DannyMacD » Tue Nov 09, 2010 7:02 am

so... 1.5.0...

any ideas for release.. one of you guys has to crack n let us know.. :P :joker:

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by Qphoria » Tue Nov 09, 2010 8:18 am

Sometime between now and then

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by DannyMacD » Tue Nov 09, 2010 8:22 am

Qphoria wrote:Sometime between now and then
tease!! lol

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by TAC » Tue Nov 09, 2010 11:45 pm

Hi all,

I found OpenCart at version 1.4.9.1 so I am waiting for 1.5 before I change my actual website. I'm not good with code so adding the various modules has caused me some issues. I figure if I wait till 1.5 most of what I need will already be included.

So in the meantime I thought I could work on getting my product catalogue updated and ready to go by using the Spreadsheet supplied as part of the 'Import/Export Tool' module.

Then I thought what a waste of time it would be if that was no longer used in version 1.5. So my question is will 1.5 have the import/export function built in and if so will it use a spreadsheet similar to the current module? And if it's not built in will the module still work with 1.5?

Thanks :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by i2Paq » Wed Nov 10, 2010 2:41 am

TAC wrote:Hi all,

I found OpenCart at version 1.4.9.1 so I am waiting for 1.5
It will take a while before 1.5 will be production ready + all modules to be updated to work with 1.5

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by TAC » Wed Nov 10, 2010 4:50 am

Thanks for that - I guess I was being hopeful it would be soon because of this on Oct 29th
Daniel wrote:Guys don't be holding off projects for 1.5.0. it probably won't be finished this month now. I am close to finishing but might be another week yet.
Though I'd rather it was right than rushed so I will be patient. :)

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by yoopergal » Thu Nov 11, 2010 12:49 am

I'm seriously considering switching 4 ZenCart sites to OpenCart... and am thinking that I should just wait until 1.5 until I dive in.

User avatar
Newbie

Posts

Joined
Tue Nov 09, 2010 1:03 am

Post by sys » Thu Nov 11, 2010 1:01 am

Ok. I'll be waiting for your e-commerce revolution!!! :)

P.S.
I'd like to see a demo access to the new OpenCart.

sys
Newbie

Posts

Joined
Sun Oct 31, 2010 11:19 pm

Post by gocreative » Thu Nov 11, 2010 6:45 am

sys wrote:I'd like to see a demo access to the new OpenCart.
What I'd like to see is a couple of different themes to choose from out of the box. And not just colours - a few layout changes. Unfortunately with the way the site is structured, it can be difficult to achieve this.

User avatar
Active Member

Posts

Joined
Tue Jan 12, 2010 5:46 pm

Post by i2Paq » Thu Nov 11, 2010 6:47 am

oneilldesign wrote:
sys wrote:I'd like to see a demo access to the new OpenCart.
What I'd like to see is a couple of different themes to choose from out of the box. And not just colours - a few layout changes. Unfortunately with the way the site is structured, it can be difficult to achieve this.
This discussion has been held many times, OC will come with one template.

Please don't start this discussion again: thanks :)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: Amazon [Bot] and 13 guests