Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Improving your workflow (EECI EU 2012)

Improving your workflow (EECI EU 2012)

We probably all hate doing the same processes over, and over again. This will show you how to cut on those time consuming tasks by improving your workflow. "Investing in the future" is the message.

Filip Vanderstappen

May 31, 2012
Tweet

Other Decks in Programming

Transcript

  1. Hi, I’m Filip. You can find me on twitter @Filipvds.

    I work for @GlueWebdesign and I build add-ons for @ee_zoo.
  2. Does anyone know of an add-on that will add more

    hours to each work day? — @jacobgraf (Graf Technology, LLC) - Appleton, Wisconsin “
  3. The facts. When I retire, I will have worked more

    than 80.000 hours. 22% of your online time is spent on social media. The average employee finished the unpaid days on february 24. In times of economic crisis we have to work harder with limited resources and budgets.
  4. The internet is the biggest time waster invented. Cut instant

    communication like e-mail, twitter, IM, telephone... Block distracting websites. Look up the cool stuff when you finished work.
  5. Prepare your work well. Use protected time for unexpected work.

    Make lists and a planning. Create a positive working environment. Create your own environmental noise using headphones.
  6. What else worked for me: Picking the low hanging fruit.

    Unitasking helps focussing. Being healthy.
  7. Advantages of using a base install. Stop wasting time on

    clean installs. No more clutter from copy / pasting existing installs. Everything is included from the start. Lowers the risk of human errors. It’s under version control.
  8. What should be in it? Latest stable build of ExpressionEngine

    without the clutter. Predefined members and groups. Generic master config. Common used templates, snippets and global variables.
  9. What about the database? Keep it version controlled. Use a

    sql file. Commit a new version with every change.
  10. How do we use it? Keeping our ExpressionEngine & add-ons

    up to date. Only install the add-ons we always use. Test changes before committing.
  11. Why should I use deploys? Less mistakes, more progress. Never

    mess with an FTP client again. Use a development and production environment. Keep your team up to date with notifications on each deploy. Keep your servers more secure.
  12. Webapps offer automatic deploys. Many other solutions for GitHub. Set

    up multiple servers. How to deploy? Automatic or manual?
  13. Endless asset possibilities with webhooks. Compile your SASS / Less

    server side. Unify and compress your JavaScript. Have your images optimized with Smush.it
  14. Endless code possibilities with webhooks. Some even run code tests

    to block deploy when tests fail. Checking file permissions. Cleaning up the caches (ExpressionEngine, Varnish, CE Cache ...)
  15. Done in 60 seconds: Development & Production environment. Git repository

    & deployment settings. Base install cloned to repository. Team notifications.
  16. Create the robot of your choice. Build a custom application

    (CodeIgniter) or app. Make it accessible for your team. (Interface, Hubot ...) Let it complete fit your needs...
  17. What we build in CodeIgniter. Set up the environments on

    our cloud with Curl. We create a new repository using the Beanstalk API. A bash script is setting up the git branches. Automatic deploys are set up using the Beanstalk API. Base install is cloned into the new repository.
  18. Don’t reinvent the wheel, dig the goldmines. Often very well

    documented. Save development costs and time. Great services have great API’s. Easy to integrate in EE.
  19. User Guide is your best friend. ExpressionEngine resources. 1.520 ways

    to extend EE. EE Podcast for great discussions. EE Hub grouped several EE news feeds. CI User Guide nice coding reference.
  20. The best code editor does not exist. Coding like a

    boss. A lot of great text editors. An IDE can even do more. You can use both.
  21. Webapp vs native app. Managing your database. SequelPro is great

    free client. Coda 2 has a similar one built in.
  22. Better searches with a full-text search engine. Communicate with a

    RESTful interface. Let you easily create facet filtering and advanced searches. Solr & elasticsearch are made for indexing a lot of data.
  23. Improve performance with caching. Need more? Go with CE Cache

    or Varnish. Start with built-in ExpressionEngine caching. Caching let you save money on resources.
  24. Use the right service providers. Go for long-term and close

    cooperation. Save you time and money. They must have a Plan B. Stick with your core business.
  25. What about your workflow. Don’t change your workflow continuously, but

    polish it slightly. Every situation is unique. Share experiences.
  26. Invest in people. Be fair and reward hard work and

    success. Control work hours. Recruit the right people on the right moment.