ASP.NET MVC Image Upload for TinyMCE - NetAdvImage
Posted by:
Derek
on
08/10/10
We've just release a preview of an ASP.NET MVC image upload plugin for TinyMCE on codeplex. Hope you like it!
Visit the project homepage
Programming Principles and Best Practices
Posted by:
Derek
on
07/30/10
I once heard that there are two extremes in software: OGF and OPP (One Giant Function and Object Oriented Programming respectively). An example of the former would be the monolithic Perl, ColdFusion, and Classic ASP apps from yesteryear, while the later would comprise the over-abstracted puzzles that are Plone and Joomla. The trick is to fall smack dab in the middle. Software should be simple yet saleable.
With that, I leave you with some programming principles that I’ve collected from the web:
- KISS (Keep it simple and straightforward) - Strive to simplicity and combat complexity.
- DRY (Don’t Repeat Yourself) - Write less code.
- YAGNI (You ain't gonna need it) - Strip out anything unnecessary.
- DRTW (Don't reinvent the wheel) - And only reinvent the wheel if the benefits are worth the costs.
- DIS (Does it scale?) - Picture 10,000 people using your application.
- AGILE - Don't back yourself into a corner. Software should be as flexible as its requirements.
- OPTIMIZE AFTER - Premature optimization is the root of all evil.
- DOCUMENT - The code should explain "how". Your documentation should explain "why".
- DOMAIN DRIVEN DESIGN - Understand and communicate using a common language.
- ABSTRACT - Package common tasks into reusable functions.