No code is the best way to write secure and reliable applications. It is also blazing fast. Write nothing; deploy nowhere.
"The cheapest, fastest and most reliable components of a computer system are those that aren't there."
-- Gordon Bell
Start by not writing any code.
This is just an example application, but imagine it doing nothing you want. Adding new features is easy too:
The possibilities are endless. The only limit is your imagination.
Now that you have not done anything it's time to build your application:
Yep. That's it. You should see the following output:
No code uses the no tests framework. Simply execute:
If nothing was outputted, or the $?
gives a 0 return value, then all tests were successful.
To run full tests of the application:
To run end to end tests of the application:
Now it' time to add some tests to your code to ensure it works the way you think it should.
Now your code is safe and bug-free. Simple, right ?
While you still have not done anything it's time to deploy your application. By running the following command you can deploy your application absolutely nowhere.
It's that simple. And when it comes time to scale the application, all you have to do is:
I know, right?
Since there is nocode, that runs nowhere, we inherently have Fault tolerance. Have a look at the following:
I know, this is revolutionary!
When a catastrophic disaster event occurs, the system continues in its nocode norun policy. This can be implemented in all cloud and non-cloud platforms in existence and yet to be invented.
Here is an example nocode on Microsoft Azure. Same can be achieved on AWS Cloud.
Take a moment to absorb that.
Now that you do not have any tests, run the tests.
Yep. That's it. By n ow you should be able to see nothing.
For every issue try,
It should resolve it immediately.
Build an image. It will work even without Docker.
docker build . > /dev/null 2>&1
That's it.
You do! Remember to add
.