Open Discussion - Symfony - what do you do to get started with your projects faster?

When you start a new project (whether personal or professional), what do you have to quickly start developing a project?

For example, when I start a new project at work, I have an already installed setting from a special isolated program:

  • Two different authentication classes, LDAP and CAS, which I can change with app.yml
  • Custom form widgets that I use in most applications
  • Deploying a Capistrano script to deploy the project to intermediate or production servers.
  • A mail template class that uses an XML file for templates to send letters
  • Mail server settings, ldap, etc. all are configured.
  • A bunch of icons and the same CSS (which with some exceptions is always the same for each project)
  • custom error pages, layouts, login layout, etc.
  • static pages, for example, about us, contact us, etc.
  • Useful plugins like sfFormExtraPlugin, twig, etc.
  • jQuery and jQuery libraries
  • The main local ACL classes and translation models and some other default models.
  • Tasks - Submit an email task and complete translations.
  • A class of special tools for performing some custom materials.
  • custom factories and some default routes
  • The helpers, which I will most likely use, will be enabled by default (i18n, partial, etc.).

And some other things :-)

I'm just wondering what you are doing to make your development faster and more efficient when starting a new project. I hope I learn some of what you do.

Thanks guys!

+6
symfony1
source share
2 answers

Great question and great list. Here are a few more:

  • As a general practice, whenever we develop a function that can be used in projects, we develop it as a plug-in so that it can be easily dropped into other projects.
  • A form form formatter that uses our own widgets / validators instead of the standard Symfony.
  • Custom email program with support for sending processing templates in the form of emails and better HTML email support.
  • Plugin for minimizing / combining CSS and JS resources.
  • Symlink from web / sf to lib / vendor / symfony / data / web. Better than an alias in apache.
  • Custom generator-admin templates.
+2
source share
  • A quick setup script that takes command line parameters or reads a configuration file to create a complete local dev env (run the project, configure vhost, change etc / hosts, import into svn, create external svn for Symfony and key plugins, for example sfDoctrineGuard)
  • Custom project skeleton
  • Javascript helper helper based on new helper functions apostrophes a_js_*()
+1
source share

All Articles