controllers to transform the request in a response • Use services to handle business logic • Use data managers to collect / store data • Use Events to trigger side actions • Use validators for validation
NOT use the "else" keyword 3. Wrap all primitive types if it has behavior 4. Only one -‐> per line 5. Do not abbreviate 6. Keep your classes small 7. Limit the number of instance variables 8. Use first class collections