By all means the use have to be taking into accout mopa bundle. None
other. We have to avoid NIH in this regard and also do not reinvent
the wheel but rather make room for bundles like this. Allow
integration, but also leave room for other. So we can use mopabundle
without problems. It has been bullet proof in a week of frustration.
I will try to work pull the sandbox and add this bundle and push back
to see how far we go.
Thanks Richard,
Luis
1)Place of UI coding
We never said that the UI should be part of the individual bundles.
For me these individual bundles should only contain the domain
objects, managers, persistence, common business entities and business
rules. We would thus provide an API and allow UI's to connect through
REST services.
If it is really required to have an UI per bundles, they can be simple
CRUD based admin pages that to do basic operations. But i think that
people would in the end throw the bundle UI away and use their own.
It's only when you combine different bundles that a UI makes sense
(eg. a sales order, product and customer bundle are needed to build a
sexy sales order entry UI)
So yes I would have one centralized place for the UI. However i'm not
sure it would need to be in the sandbox. Why not just move it into a
VespolinaUIBundle?
2)Javascript library
Any specific reasons you choose this one? I'm a bit fed up about the
existing of soo many javascript libraries that i honestly can't choose
anymore.
I've had a quick look to twitter bootstrap and it looks fine, although
I wasn't seeing any advanced UI components which http://www.sencha.com/products/extjs/
providues such as complex data grid.
On Nov 26, 9:54 pm, IamPersistent <iampersist...@gmail.com> wrote:
> The ProductBundle has finally reached a point that it has some real world
> usefulness and there are a couple of bundles that are reaching that state.
> Even though the primary objective of Vespolina is to provide bundles that
> can be used independently of the Vespolina project, it would seem from some
> of the feedback, that it would help with adoption rate to have something
> that can be use. I think if we improve the interfaces for product entry
> (which is also getting ready to include pre-building option groups) and
> have that ready to use in the sandbox, it will help people get their feet
> wet with Vespolina.
>
> I've struggled in my mind with keeping the javascript and any css agnostic,
> but I'm thinking more that it really doesn't matter. Someone who doesn't
> want the default interface is going to build their own, so what we use or
> don't use will probably not matter. Also, if we keep javascript and css
> limited to the sandbox and not the actual bundles, (just use simple
> templates in the bundle), then it doesn't matter anyway. A problem I could
> see happening with that is it might lead to some confusion when the Bundles
> behave differently in a non sandbox environment.
>
> I'm proposing that we use jquery and twitter bootstraphttp://twitter.github.com/bootstrap/to build a more friendly interface.
To start, great job on the product bundle!
1)Place of UI coding
We never said that the UI should be part of the individual bundles.
For me these individual bundles should only contain the domain
objects, managers, persistence, common business entities and business
rules. We would thus provide an API and allow UI's to connect through
REST services.
If it is really required to have an UI per bundles, they can be simple
CRUD based admin pages that to do basic operations.
But i think that
people would in the end throw the bundle UI away and use their own.
It's only when you combine different bundles that a UI makes sense
(eg. a sales order, product and customer bundle are needed to build a
sexy sales order entry UI)
So yes I would have one centralized place for the UI. However i'm not
sure it would need to be in the sandbox. Why not just move it into a
VespolinaUIBundle?
2)Javascript library
Any specific reasons you choose this one? I'm a bit fed up about the
existing of soo many javascript libraries that i honestly can't choose
anymore.
I've had a quick look to twitter bootstrap and it looks fine, although
I wasn't seeing any advanced UI components which http://www.sencha.com/products/extjs/
providues such as complex data grid.
But maybe we should do some UI sketches before coding everything?
I say we just move on with this. What we have discussed has been
already solved on symfony2, no need for spending time on this. We will
have override power, and simplicity, no work on sketches, work in
sketches if you want to make your own, Sonata already uses bootstrap
templates, so yes grid, and yet exposes some configuration and at the
same time overriding, we can later make a UI bundle aka themeBundle.
The idea is to lightly move along.
Mopa in the midst of everything is the best to me. I have selected it,
tried and read others, discarded all but this. We can throw it or
adapt it if we need. It will just adapt.
wait for my PR on ProductBundle, two line change or something, and the
sf2 way since it inherits from base anyway. If it it doesn't then it
does not make much sense since it will be overridden anyway.