Garth,
I will add your question to the Newbie FAQ.
I'm no source control expert, so I don't have a very official answer
for you other than pick a best practice and stick with it.
I would think that you would want everything in the clients directory
to be under source control as well as any other files that you add to
the directory structure created by SproutCore, such as additional
JavaScript files for additional/custom frameworks & libraries.
The SproutCore application when deployed to your production server
will reside in the <web root>/static directory (unless you change your
application build root in the sc-config file -- see
http://github.com/sproutit/sproutcore/wikis/changing-your-application...
) so your back end script files to connect to the db server etc can
reside any where really.
Additionally, durring development, the httpd server servering up your
SproutCore application and the httpd server serving up your scripts
for you back end db access will be different, so you will either want
to
1) set up reverse proxy so SproutCore can call your back end scripts
see here for details on this - Mixing the Build Tools with Your
Backend Server http://github.com/sproutit/sproutcore/wikis/about-the-sproutcore-buil...
2) or use the proxy setting in the the sc-config file
So with regards to source control, it probably doesn't matter where
they get placed relative to the sproutcore files.
Hope that helps a little.
-- Greg Skluzacek
On Jul 9, 1:03 pm, Garth <ga...@wi.llia.ms> wrote:
> ## newbie_faq_question ##
> When staring a new project based on sproutcore, what is the
> recommended source control setup?
> For example, is it recommended that /public be excluded from checkins?
> Also, sproutcore, unlike most web dev frameworks, requires an
> additional framework for the backend. When working working with
> multiple frameworks (eg, sproutcore + rails) what is the recommended
> trunk/main layout? Is something like the following advisable, could
> you mix both frameworks in the same tree, or is there a preferred
> alternative?
> <trunk>/sproutcore/<sproutcore tree>
> <trunk>/rails/<rails tree>