Download My First Free Android App For Developers


Once in a while, you challenge yourself. Perhaps you have listened to so many people tell you that you couldn’t do it. You have read so many tutorials, so many books, watched so many YouTube videos; yet there is nothing to show for it. You are almost tempted to believe the hype; the idea that only a few talented people can write code (or craft code) and you are not one of them.

device 2014 09 07 174626 576x1024 Download My First Free Android App For Developers

But one fine morning, you wake up feeling like you could take over the world. You believe in your powers. You convince yourself that you were born to do great things; because you don’t need someone to tell you that you don’t have what it takes.

How To Do Anything In Life – App Design


Are you willing to admit that there is something you really suck at? You are terrible at it and you don’t need someone to tell you that. I know I do. I also know that I would like to do anything I want in life. Let me cut it to the chase here; I am color blind. There, I said it. That means you might see my design efforts and wish you never saw them. I really want to be able to tell all the colors apart and design killer UIs for my apps. So, I tried it this past weekend.

How To Create Android Swipe Views With Tabs


Android swipe views provide lateral navigation between sibling screens such as tabs with a horizontal finger gesture (a pattern sometimes known as horizontal paging). In this post, I will be using a simple android app that I created this past weekend to show you how to create android swipe views. If you have used many android apps, there is a good chance you have seen android swipe views. If not, well, this is your chance to try them. So, here is how the app looks like using swipe views.

gd capture1 How To Create Android Swipe Views With Tabs

Android App Prototype Using Google Docs Drawing


An android app prototype can be helpful when you want to build your next android app. Often, jumping straight to code is not the best thing to do, regardless of your experience developing applications. That being said however, sometimes the cost of prototyping tools is out of reach for many starting developers. Before Photoshop started offering their software for a monthly fee, you had to pay a huge amount to get it. If you do not want to pay that much money, Google Docs Drawing tool is your friend. All you need is creativity and time.

android app mockup tutorial Android App Prototype Using Google Docs Drawing

How Often Should You Have Comments In Code?


Comments in code is such an endless debate, so much so that I couldn’t help but share my own arguments on it. So, where do I really stand as far as comments in code is concerned? Hold it for a second. In his best-selling book Clean Code, Uncle Bob, makes the following analogy while talking about clean code :  as location is to real estate, so is readability to source code. I totally agree with that statement. With that in mind, let us take a look at some arguments for and against having comments in your code.

writing comments in code How Often Should You Have Comments In Code?

How To Create And Run Laravel Migrations


Laravel migrations are a type of version control for your database. They allow a team to modify the database schema and stay up to date on the current schema state. Migrations are typically paired with the Schema Builder to easily manage your application’s scheme. In my last laravel post, I talked about laravel models. I also promised to show you how to create tables that you will need to store your blog posts(models) in your next blogging platform. Let us do this.

how to create laravel migrations e1407805329214 How To Create And Run Laravel Migrations

At this point, I assume that you already have a working database and you have configured it in your laravel application under app/config/database.php. Now we can move on.

How To Rotate An Image In Android – Example Code


Let’s learn how to rotate an image in android. Perhaps one of your requirements is to display rotated images in your latest android app and you just want to get that done so you can move on to other important things like taking over the world. In this post, I will show just that. As you step through this code, I would urge you to read it carefully and see if you can notice anything good or bad about its readability. I try to improve everyday as I lean towards writing clean code. Please be my judge – I will not strangle you!

How To Use A Laravel Model – Eloquent ORM


A Laravel Model makes it very easy to store, read (retrieve), update and delete (CRUD) a resource in a Laravel application. In this post, I am going to show you how to use a laravel model to manage blog posts. I touched on this in my previous post when I talked about using laravel resource controllers here. The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding “Model” which is used to interact with that table.

how to use laravel model 300x195 How To Use A Laravel Model   Eloquent ORM

How To Use Laravel Resource Controller


A Laravel resource controller makes it easier to build RESTful controllers around resources. For instance, you may wish to create a controller that manages “blog posts” stored by your application. Normally, you use a laravel resource controller to group common routes in one class. In this post, I will show you how to create a resource controller that we will, in the future, use to manage blog posts in a demo application. Let us do it!

how to create resource controllers in laravel 1024x426 How To Use Laravel Resource Controller

Normally;

In your routes.php, you would add routes like this:

How To Fix Buffer Problem In Laravel Controllers


The Response::download buffer problem is an issue that causes the output buffer to not be discarded and buffering is not turned off in PHP. Figuring out that you have this problem is not an easy task – Scott and I spent quite some time trying to find out why our images were not being rendered by our browser while working on a laravel project. That being said, we went to work – really went to town and tried to solve this issue. After a significant amount of caffeine, we found the solution – thanks in part to Scott’s relentless effort (I know he is reading this). So, here is the workaround.