Here is a challenge to me. Create an Angularjs app using various technology that I have encountered during my learning.
- ejs templating
- Gulp for task runner and build
- REST api call or database call using MySql
- Sass for styling
- NodeJS and other nodeJS plugin
This is just a simple SPA(single page) where the app gets its products from a REST api call or a query to a mysql database, and presented to the visitor. The visitor will add items to the shopping cart, fill up a form and submit their details until the last check out page.
There is alot going on this application. I will also make a repository on Github so I can grab the project anywhere I use a different computer. My goal is to create the application within a month. And hopefully will teach me a whole lot more about AngularJS.
Wish me luck!
Child.prototype = new Parent();
you assign the prototype of child to parent, to inherit parents prototype, methods and data.
Child.prototype.constructor = Child;
Then you assign the name of the child object, to its constructor property to give back its identity.
And inside the Child object constructor, you call the super class constructor, to take the context of “this” of the Child object into the Parent constructor. Here you can initialize any members of the parent object of the child property and control goes back to the child’s constructor and initialize the child property this time. Also known as Constructor Chaining.
Took me awhile to understand it. I hope anyone reading this would get it the first time otherwise let me know!
Explanation how linux/unix used to install programs and repository to the system. And some still use even up to the present.
Long before package managers like yum, apt-get etc.
Very nostalgic feeling. Credit to the author.
Scala Samples for simple problems. These are bunch of problems in Scala programming language with solutions and great for reference.
Credit to the author as usual.
Plugins for Sublime-text you might find useful top 10!
Please follow the link as credit goes to the author.
If you are developing using sublime text, you definitely need to check this out as it helps you code efficiently.
10 Essential Sublime Text Plugins for Full-Stack Developers
ReactJS: If youre like me confused on how to use bind, apply and call here’s a great article I found on the net. Credit to the author!
<!–[if lt IE 9]>
This is a shim or a way to make html5 work for older browsers. Its more of a work around for browsers who does not support new html5 tags like <article> <section> <header> <footer> <aside> etc.
There are also shims out there that can be used like <canvas> shim, <svg> shim etc.
Here Ive search the interweb for the best reference for Linux/Unix command heres what Ive found. Credit to the author.
I couldnt get an article done but please follow this link and as always credit to the author!
How to Add Sass Support in Sublime Text