Fransiska Jesinta Pinemmembuat kutipan5 tahun yang lalu
Try to think in MVC terms as you write. As far as possible, try to keep your 'views' focused purely on presentation, and your 'controllers' purely on controlling application flow. Keep the application logic in the data models and the database.