Tuesday, November 29, 2016

I hate people who say "It's impossible"


Yes. I don't like it when somebody says "Oh that's too hard. We can't do that."

But How can you say that without even trying?

What I believe is that Whatever things we think we can never do, are the things we will become great at. I have a couple of experiences in my life to support this statement. 

The inspirational quote that you often see, "Nothing is impossible" is not a pipe dream. Well, I am not talking about lifting a train by yourself or jumping into the fire without getting burned. 

But about our life goals. Lots of people wish to do something awesome in their life. But deep inside their mind, they believe they can never do it. The feeling of impossible comes into mind because that goal is out of your comfort zone. Maybe, I won't call it "out of comfort zone.". Because you can still be in your comfort zone, if you love what you are doing. You just need to have the passion for improving yourself. This is one of the core values of our company. When we come across any task that feels impossible, we sit together to find out what we need to do to make it possible. Maybe it is just about learning an extra skill or working some extra time.  We love to do that. 

So, I would rather attempt to do the things that I feel impossible. Because then I can fail, learn from the mistakes and keep trying until I get it right.

Monday, February 1, 2016

micronPHP - A Simple, Lightweight framework for building apps and API's in PHP

Building a website with PHP from scratch is annoying. You have to write the same boilerplate code for database connection, routing and defining absolute paths.

Then you might ask, why dont you use a framework ? Maybe Laravel, or CodeIgniter?
But, why should you make such a simple web app heavy by using these sophisticated frameworks ? Well of course we need them for larger projects. But using them for simple websites can be an overkill.

At Cloudfoyo, we have developed our own simple framework called,  micronPHP, Which packs all the basic functions to get started. We use this framework for simple website projects.

It even helps us to separate the presentation logic from application logic by using a view and controller. And yes, micronPHP do not have Models, Just to keep it simple. It uses the PHP PDO Extension for db access. It has some helper functions too.

micronPHP is opensource and is available at
https://github.com/anandrmedia/micronPHP