Slim3 is a full-stack MVC framework optimized for Google App Engine/Java. Our main concept is "Simple" and "Less Is More". "Less is more" means simplicity and clarity lead to good design. 80% of the effects come from 20% of the causes. This is known as The Pareto Principle. We concentrate all our energies into 20% of the causes. Programmers can resolve the other issues without framework constraints. We want to get rid of complex and bloated features from your applications and our framework. As a result, we will slim down. Slim3 is an open source framework. The license is The Apache Software License, Version 2.0. The main characteristics of Slim3 are as follows: Test-driven development Support Test-driven development (TDD) is a software development technique that uses short iterations based on pre-written tests. By focusing on the test first, you must imagine how the
functionality will be used by clients. As a result, your application will be easy to use. TDD Cycle of Slim3 is as follows(red parts are specific to Slim3):
HOT reloading Slim3 supports HOT reloading. HOT reloading means new version of a class is automatically reloaded on the fly. Due to HOT reloading, when you change the code, you can see the changed result on your browser without restarting web application. The quick feedback is essence of TDD. Slim3 supports a type-safe query as follows: An equivalent JDO query is as follows: If you use a query based on string, a compiler can not report an error when refactoring the property name. If you use a type-safe query, when you rename "salary" property, a compiler will tell you "salary" no longer exists, because the meta data of the model is recreated by Annotation Processing Tool when refactoring. Refactoring is the essence of TDD. Type safe query will help you when you refactor your model. |