Personally I believe that providing 6-10 bundles to handle the entire platform provides a lower point of entry for new users, simplifies pull requests, bug fixes, and testing. This is the direction that the Symfony CMF project took and is also what most commerce packages provide.
We'd like some feedback from everyone on the desired direction of the project.
Thanks!
Just a little parenthesis in the path of thought.( What would be the roadmap for all these changes and how can we come about to continue using what we have now for newcomerslike I would like to be able to use v along as we use symfony2 master, there may be need for an update.md to report the modifications and improvements )i think this update.md is pretty neat concept and very practical.I will try to be stoffing repos once in a while, would also like to write the documentation for all still. Anybody doing that that can help me or hold my hand?Luis
On Fri, Jun 15, 2012 at 8:00 PM, Richard Shank wrote:
One of the nice things about the way I'm wanting to structure is if you don't like the gateway idea, not a problem, just extend the Manager like we do now. In fact a lot of it is just moving what we currently have in the Model folder into its own library to keep it framework agnostic.
My reasoning for going with Entity instead of Model is the model triggers the idea of the MVC pattern. Entity can cause some confusion because of Doctrine ORM using the same terminology, but I haven't found a more fitting name for the concept. http://en.wikipedia.org/wiki/Entity_classThe Gateway is probably more Manager specific than Entity specific. For example, the ProductManager deals with Products and Options. I probably wouldn't have a gateway for each, I would probably have have one gateway that has all of the methods to deal with those on their own when needed. Like with Options, its possible to have prebuilt OptionSets. Since that is so closely related to the product, I would just have productGateway::PersistOptionSet().Persisting, Updating and Deleting don't require any type of querying, we know the Object that is being handled. The find() in the gateway needs to have some type of query language. I think I would prefer to see a more contextual language, even if they abbreviated like the MongoDB Operators http://docs.mongodb.org/manual/reference/operators/I should have some time next week to work on some of these ideas a little more.
I'm moving a Symfony2 project to Symfony-CMF, and looking at shopping carts. I'm very interested in your project!
I don't have anything specific to add about Vespolina. From a Vespolina technical user perspective, I can relate this.
My primary use cases are:
1) Getting up and running quickly:
Yes! Fewer packages = Less finding things
2) Subclassing a product for my client's *extra* special product. Also, if I want to contribute it back to Vespolina, do I submit it to core?
Ok, having another bundle would be helpful - both for examples and contributions.
3) Upgrading. Will all contributed product types be in the product bundle? Will I have to update my Vespolina "core" every time a product type changes?
I've seen other projects use a "core" and "contrib" model. Everything that will be versioned and maintained with core goes into "core". It's a commitment by the core developers to keep the code quality and up to date.
Contributed code that won't be maintained by the core team goes into "contrib". That allows for separate versioning, examples, maintenance, and community contributions.
Hope this helps!
Mike
> We'd like some feedback from everyone on the desired direction of the project.
> Thanks!
hi,I'm moving a Symfony2 project to Symfony-CMF, and looking at shopping carts. I'm very interested in your project!
I don't have anything specific to add about Vespolina. From a Vespolina technical user perspective, I can relate this.
My primary use cases are:
1) Getting up and running quickly:Yes! Fewer packages = Less finding things
2) Subclassing a product for my client's *extra* special product. Also, if I want to contribute it back to Vespolina, do I submit it to core?
Ok, having another bundle would be helpful - both for examples and contributions.
3) Upgrading. Will all contributed product types be in the product bundle? Will I have to update my Vespolina "core" every time a product type changes?
I've seen other projects use a "core" and "contrib" model. Everything that will be versioned and maintained with core goes into "core". It's a commitment by the core developers to keep the code quality and up to date.
Contributed code that won't be maintained by the core team goes into "contrib". That allows for separate versioning, examples, maintenance, and community contributions.