We are currently developping a new Web interface for our product.
Previously, we only had a desktop UI and we want a new Web-based UI.
Here is my point : we already have a full Service Oriented
Architecture (using Thrift) which is used by our software to
communicate with our database.
All our business logic code is hosted in this service.
And we are planning to develop our new Interface with Symfony2. But if
we do so, we won't be able use the typical Symfony2 + Doctrine
Paradigm.
We will have to deal with our custom Model Layer provided by thrift.
We are afraid that trying to take Symfony out of its "regular way of
working" could be a waste of time more than a real asset for our
project. On the other hand, we are not comfortable with the idea of
developing without a framework to provide a scaffold and programming
standards.
So has anyone already experienced using Symfony2 without Doctrine
using existing Webservices to stick with provided model ? Any
information or feedback about this topic will be greatly appreciated !
I was curious about his myself. Symfony2 does say that most of the
components can be used independently.
I wanted to use their router as well as the Request/Response classes.
So I copied the default app and pretty much stripped all the bundles
out except the FrameworkBundle. And then I stripped down the config
files to their bare minimum.
Seemed to work okay. Built a small TestBundle with a simple
controller. I added some initialization code in AppKernel and then
made a base controller with a bit of extra functionality. Easy enough
to hook into my own model. I did cheat in a few spots and added a few
singletons to the app kernel.
On Jul 25, 5:21 am, Simon VDD <simon...@gmail.com> wrote:
> We are currently developping a new Web interface for our product.
> Previously, we only had a desktop UI and we want a new Web-based UI.
> Here is my point : we already have a full Service Oriented
> Architecture (using Thrift) which is used by our software to
> communicate with our database.
> All our business logic code is hosted in this service.
> And we are planning to develop our new Interface with Symfony2. But if
> we do so, we won't be able use the typical Symfony2 + Doctrine
> Paradigm.
> We will have to deal with our custom Model Layer provided by thrift.
> We are afraid that trying to take Symfony out of its "regular way of
> working" could be a waste of time more than a real asset for our
> project. On the other hand, we are not comfortable with the idea of
> developing without a framework to provide a scaffold and programming
> standards.
> So has anyone already experienced using Symfony2 without Doctrine
> using existing Webservices to stick with provided model ? Any
> information or feedback about this topic will be greatly appreciated !
> We are currently developping a new Web interface for our product. > Previously, we only had a desktop UI and we want a new Web-based UI.
> Here is my point : we already have a full Service Oriented > Architecture (using Thrift) which is used by our software to > communicate with our database. > All our business logic code is hosted in this service. > And we are planning to develop our new Interface with Symfony2. But if > we do so, we won't be able use the typical Symfony2 + Doctrine > Paradigm. > We will have to deal with our custom Model Layer provided by thrift.
> We are afraid that trying to take Symfony out of its "regular way of > working" could be a waste of time more than a real asset for our > project. On the other hand, we are not comfortable with the idea of > developing without a framework to provide a scaffold and programming > standards.
> So has anyone already experienced using Symfony2 without Doctrine > using existing Webservices to stick with provided model ? Any > information or feedback about this topic will be greatly appreciated !
The long and short of this one is that you get a great setup for the stuff you do not want to worry about (authentication, routing, asset handling etc) but you will have to integrate Thrift on your own.
Symfony isn't tied to Doctrine - but it has great integration. What you do not get when not using the Doctrine universe is the documentation and code generation that it comes with. As Thrift has a metadata model (i.e. a schema) you might be able to write your own code generation tools by parsing that schema and generating basic forms, routes and controllers.
On current project we're using a great variety of technologies
combined with Symfony: 2 rest services, central authorization service,
ORM and OXM. Everything works pretty well, external services just need
PHP wrappers and you also need to generate custom form types for
making you app live. That's it.
Regards,
Serge
On Jul 25, 1:21 pm, Simon VDD <simon...@gmail.com> wrote:
> We are currently developping a new Web interface for our product.
> Previously, we only had a desktop UI and we want a new Web-based UI.
> Here is my point : we already have a full Service Oriented
> Architecture (using Thrift) which is used by our software to
> communicate with our database.
> All our business logic code is hosted in this service.
> And we are planning to develop our new Interface with Symfony2. But if
> we do so, we won't be able use the typical Symfony2 + Doctrine
> Paradigm.
> We will have to deal with our custom Model Layer provided by thrift.
> We are afraid that trying to take Symfony out of its "regular way of
> working" could be a waste of time more than a real asset for our
> project. On the other hand, we are not comfortable with the idea of
> developing without a framework to provide a scaffold and programming
> standards.
> So has anyone already experienced using Symfony2 without Doctrine
> using existing Webservices to stick with provided model ? Any
> information or feedback about this topic will be greatly appreciated !