• Templates in Laravel 5

    This post is part of LxD Series in which I share my learning process about different technologies. Learn more about LxD here. Ok you saw earlier the design we are going to use for our application. Now it’s time to integrate that design in our Laravel 5 application. Before I go further, let me tell directory structure of Laravel to integrate our design.   Layouts are actually part of views hence they reside in views folder. You have option to put all of your layouts within views->layouts folder or manage it better by dividing it into folders based on your site modules. For instance, Admin, Emails, Site etc. For my sake I created…

  • LxD Series: Starting AngularJS – Part 2

    In previous post I wrote the very first AngularJS app which did nothing magical but showing the input text on page as I type.  Now I would like to get a grip on these weird attributes added in different HTML tags. For sake of reference I am writing program again.   <!doctype html> <html ng-app> <head> <title>Ng Addressbook</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script> </head> <body> <div> <input type="text" ng-model="Name" placeholder="Write your name"> <h3>Hey {{Name}} how are you doing? Glad to know you executed your first Angular App successfully.</h3> </div> </body> </html> In AngularJS,these custom attributes are called directives which are understood and processed by AngularJS. The first one we come across is ng-app. Ng prefix tells…

  • LxD Series: Starting AngularJS

    I am making this post after 20 days. I got busy as there was a new addition in my family. I am father of two sons now, thanks to God Almighty. Anyways, only a week is left in January. I will try to cover as much as I can so that we can have a minimal idea about AngularJS and it’s working so that we can start using it in our future projects. Running first program Ok So we are now going to run our first program but before that we need to setup AngularJS. If you visit AngularJS, you will see you can configure it in multiple ways(CDN,Download,Bower and npm).…

  • LxD Series: Learning new technologies by implementing

    For the things we have to learn before we can do them, we learn by doing them – Aristotle Ok so I am planning to start a new series called Learn By Doing or LxD.  I have worked on various programming languages and technologies in last couple of years and I am planning to learn more. The basic idea behind it to keep my learning process transparent by sharing with you. So what will we be learning? Good question. Since  I am a programmer so most of stuff I will be learning and sharing will be related to programming;Laravel, Rails, NodeJS, Angular, you name it. We will be learning and implementing together.…