To answer your comments:

- symfony project:permissions sets all correct permissions
- There is a symfony script check_configuration.php as a part of the library
that can be run to check that all required dependencies are met.
- symfony configure:database allows you to change connection settings for a
database
- symfony propel:build-* and insert-* functions do all the db-admin you need

But what if your specific application wanted to do only a subset of these?
What if you have other directories set by other libraries you use, that need
different permissions? What about multiple databases? What if you need to
have a specific PHP module installed for functionality that you have
included? There are many more caveats. Its not really as simple as you make
it sound. And all of those differences I just mentioned occur with an
application we have just recently made available to our customers.

I am not attacking you, just trying to point out why a generic deployment
script would be a difficult thing to do as no two projects are alike.

On Thu, Oct 8, 2009 at 1:42 PM, Sid Bachtiar <[email protected]> wrote:

>
> A generic installer would be something like:
>
> - System checks environment requirements, the usual: php version,
> apache version, mod rewrite, gd (plugins may add more requirements)
> - User enter database name, user, password
> - System creates necessary database structures (table, etc, etc)
> - System check that cache, log, and upload folder are writable
> (plugins may register additional folder)
>
> I'm sure there'll be a couple more, but they would still be pretty generic.
>
> Yes, a Symfony app can be more specialised and more complex, but I'd
> say most Symfony apps we develop can use such generic installer almost
> out of the box. Just like so many projects have benefited from
> sfGuardPlugin, even though not necessarily that ALL projects use
> sfGuardPlugin.
>
> On Fri, Oct 9, 2009 at 12:25 AM, Gareth McCumskey <[email protected]>
> wrote:
> > No it wouldn't. Wordpress is a CRM system at its heart and thats really
> all
> > its there for. symfony is much lower level than that and you cannot have
> a
> > generic installer created for it because there are far too many possible
> > variables to consider and so many different ways you can develop an
> > application with symfony that a single installer would never be able to
> meet
> > all the demands of the developers.
> >
> > THATS why symfony is popular, because it isn't a CRM application, and it
> > allows you to do far more the way you want for your own needs, including
> how
> > you want to deploy it.
> >
> > On Wed, Oct 7, 2009 at 1:16 AM, Sid Bachtiar <[email protected]>
> wrote:
> >>
> >> > sf provides all the parts to make installers - you just need to glue
> 'em
> >> > together.
> >>
> >> Correct! And it would make it easier to spread Symfony to the mass if
> >> it has a generic installer built in.
> >>
> >> I know, I know, what don't I build it myself? I'd like to, but at the
> >> moment I'm pretty stretched out.
> >>
> >> But it also good to talk about it first, someone might points out why
> >> this is difficult, etc, etc.
> >>
> >> A Symfony open source project called Siwapp (an invoicing system)
> >> tried/tries/trying to have this kind of installer (www.siwapp.org).
> >>
> >> Kind regards,
> >>
> >> Sid
> >>
> >> On Wed, Oct 7, 2009 at 12:09 PM, david <[email protected]>
> >> wrote:
> >> >
> >> > Wordpress is an application, Symfony is a framework that you can use
> to
> >> > build applications.
> >> > sf provides all the parts to make installers - you just need to glue
> 'em
> >> > together.
> >> >
> >> > On Wed, 07 Oct 2009 00:32:18 +0200, Jake Barnes <
> [email protected]>
> >> > wrote:
> >> >
> >> >>
> >> >>
> >> >>
> >> >> On Oct 5, 2:54 am, Eno <[email protected]> wrote:
> >> >>> On Mon, 5 Oct 2009, Sid Bachtiar wrote:
> >> >>> > I was trying to look something more for non-developer.
> >> >>>
> >> >>> > Let's say I developed a website then when I give the source code
> to
> >> >>> > my
> >> >>> > client (who isn't computer illiterate, but is not familiar with
> >> >>> > Symfony); at the moment I'll have to teach them a lot of things on
> >> >>> > how
> >> >>> > to install/deploy, symfony commands (clear cache), how to change
> >> >>> > database settings, and so on.
> >> >>>
> >> >>> Frankly, what you're asking makes no sense. Deploying a web site is
> >> >>> not
> >> >>> something you can just give to someone who is not technical.
> >> >>
> >> >>
> >> >> One of the big weaknesses of Symfony is that it can not be deployed
> as
> >> >> easily as WordPress. The fact that non-technical people have an easy
> >> >> time installing WordPress gives WordPress much of its presence on the
> >> >> web scene.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> >
> >> >
> >> >
> >> > --
> >> > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
> >> >
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Blue Horn Ltd - System Development
> >> http://bluehorn.co.nz
> >>
> >>
> >
> >
> >
> > --
> > Gareth McCumskey
> > http://garethmccumskey.blogspot.com
> > twitter: @garethmcc
> >
> > >
> >
>
>
>
> --
> Blue Horn Ltd - System Development
> http://bluehorn.co.nz
>
> >
>


-- 
Gareth McCumskey
http://garethmccumskey.blogspot.com
twitter: @garethmcc

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to