BeagleBone Black Wireless Technical Workshop

by Agus Kurniawan 29. May 2018 12:19
  This is my new book about BeagleBone Black Wireless Technical Workshop. This book explains how to get started with BeagleBone Black Wireless development using Python and Node.js with step-by-step approach.   Table of Content 1. Preparing Development Environment 1.1 BeagleBone Black Wireless 1.2 Getting Hardware 1.3 Development Tools 1.4 Electronics Devices 1.5 BeagleBone Black Wireless Unboxing 2. Basic Configuration 2.1 Getting Started 2.2 Installing Drivers 2.3 Accessing BBBW from Computer 2.4 SSH 2.5 Changing Password for root User 2.6 Reboot and Shutdown 2.7 Updating BBBW Firmware 2.8 Connecting to a Monitor 2.9 Connecting to WiFi Hotspot 2.10 SFTP 2.11 Updating Software Package 2.12 Upgrading Software Packages 2.13 Configuring Remote Desktop 3. Serial Debugging 3.1 Preparation 3.2 Serial Debugging 3.3 Testing 4. BeagleBone Black Wireless Programming Language 4.1 Getting Started 4.2 C/C++ 4.3 Python 4.4 Node.js 5. BeagleBone Black Wireless I/O Programming using Python 5.1 Getting Started 5.2 GPIO 5.2.1 Writing Digital Output 5.2.2 Reading Digital Input 5.3 Analog I/O (PWM) 5.3.1 Writing Analog Output 5.3.2 Reading Analog Input 5.4 UART 5.5 SPI 5.6 I2C/TWI 6. BeagleBone Black Wireless I/O Programming using Node.js 6.1 Getting Started 6.2 GPIO 6.2.1 Writing Digital Output 6.2.2 Reading Digital Input 6.3 Analog I/O (PWM) 6.3.1 Writing Analog Output 6.3.2 Reading Analog Input 6.4 UART 6.5 SPI 6.6 I2C/TWI 7. Arduino Development 7.1 BeagleBone Black and Arduino 7.2 Hello BeagleBone Black Wireless and Arduino 7.2.1 Connecting Arduino to BeagleBone Black Wireless Board 7.2.2 Building A Program 7.2.3 Testing 8. Working with XBee 802.15.4 8.1 XBee IEEE 802.15.4 8.2 Getting Hardware 8.3 Connecting XBee IEEE 802.15.4 to BeagleBone Black Wireless 8.4 XBee with AT Command 8.5 Demo Chatting Program 8.5.1 Hardware Configuration 8.5.2 XBee Configuration 8.5.3 Writing Python Program for BeagleBone Black Wireless 8.5.4 Testing 8.6 XBee with API Mode 8.7 Further Reading 9. OpenCV Development 9.1 BeagleBone Black Wireless and OpenCV 9.2 Hello OpenCV 9.3 Working with Camera 9.4 What's Next?   How to Buy You can get this book on the following online store: Lulu, http://www.lulu.com/shop/agus-kurniawan/beaglebone-black-wireless-technical-workshop/ebook/product-23662650.html Google Play Books, https://play.google.com/store/books/details?id=JKxdDwAAQBAJ Amazon Kindle, https://www.amazon.com/dp/B07DCL82P1 Kobo, https://www.kobo.com/ww/en/ebook/beaglebone-black-wireless-technical-workshop iBookStore, http://itunes.apple.com/us/book/isbn9781387844951  

Tags:

BeagleBone Black | Books | Node.js | Python

Vue.js Programming by Example

by Agus Kurniawan 1. November 2017 20:41
If you are JS developer, Vue.js offers a modern JavaScript framework to build your own interactive web. This book helps you to get started with Vue.js.   Table of Content 1. Preparing Development Environment 1.1 Vue.js 1.2 Development Tools 1.3 Hello World 2. Vue.js Components 2.1 Vue.js Component 2.2 Calling Vue.js Component Data and Function from JavaScript 2.3 Vue.js Component Properties 2.4 Working with Multi Vue.js Components 3. Data Binding and Filtering 3.1 Basic Data Binding 3.1.1 Handling Input Element 3.1.2 Select Element 3.1.3 Radio Button Element 3.1.4 Date Input 3.1.5 Range 3.1.6 CheckBox 3.1.7 Submit Button 3.1.8 Output Result 3.1.9 Running Application 3.2 Repeating Data 3.3 Nested Repeating Data 3.4 Filtering 4. Input Validation and Vue.js Templates 4.1 Input Validation 4.2 Disabled Button 4.3 Vue.js Templates 4.4 Vue.js Templates with Webpack + Vue Loader 5. Vue.js Routing, Vue.js State and A Single Page Application (SPA) 5.1 Getting Started 5.2 Vue.js Routing 5.3 Vue.js State Management 5.4 Building a Single Page Application (SPA) 6. Interacting with Back-End Servers 6.1 Getting Started 6.2 Getting Data from Server 6.3 Posting Data to Server 7. Vue.js, PHP and MySQL 7.1 Vue.js on PHP 7.2 Building Database 7.3 Building Back-End 7.3.1 Handling CRUD 7.3.2 Handling JSON 7.4 Building Front-End 7.4.1 Vue.js Component 7.4.2 HTML 7.5 Testing 8. Vue.js, ASP.NET MVC Core and MySQL 8.1 Vue.js on ASP.NET MVC 8.2 Building Database 8.3 Building Back-End 8.3.1 Data Model and Database Access 8.3.2 ASP.NET MVC Core Controller 8.4 Building Front-End 8.4.1 Vue.js Component 8.4.2 ASP.NET MVC Core Layout 8.4.3 ASP.NET MVC Core View with Vue.js 8.5 Testing 9. Vue.js, Node.js, Express and MongoDB 9.1 Vue.js on Node.js and Express 9.2 Building Database 9.3 Initializing Project 9.4 Building Back-End 9.4.1 Database Access 9.4.2 Node.js and Express 9.5 Building Front-End 9.5.1 Vue.js Component 9.5.2 HTML 9.6 Deployment 9.7 Testing 10. Vue.js, Node.js and Socket.io 10.1 Socket.io and Node.js 10.2 Initializing Project 10.3 Building Back-End 10.3.1 Generating Stock Data 10.3.2 Node.js and Socket.io 10.4 Building Front-End 10.4.1 Vue.js Component 10.4.2 Building HTML 10.5 Deployment 10.6 Testing   How to Buy You can get this book on the following online store: Google Play Book, https://play.google.com/store/books/details?id=JDw8DwAAQBAJ Lulu, http://www.lulu.com/shop/agus-kurniawan/vuejs-programming-by-example/ebook/product-23391065.html Amazon Kindle, https://www.amazon.com/dp/B0772RJGWH Kobo, https://www.kobo.com/ww/en/ebook/vue-js-programming-by-example

Tags:

.NET | Books | Node.js | PHP

The Hands-on MEAN Lab Manual, Volume 1

by Agus Kurniawan 30. January 2015 09:17
I just released my new book about The Hands-on MEAN (MongoDB, Express, AngularJS, Node.js) Lab Manual. This book helps you how to develop web application based MEAN stack with hands-on-lab approach. The book volume 1 explores how to get started with MEAN stack with several code samples. Finding the power of MEAN (MongoDB, Express, Angular, and Node) stack to build modern web application Table of Content 1. Preparing Development Environment 1.1 MongoDB, Express, Angular, and Node (MEAN) 1.2 Development Tools 1.3 Hello World MEAN 1.3.1 Deploying MEAN Library 1.3.2 Building Application 1.3.3 Testing 2. Basic Routing 2.1 Getting Started 2.2 Demo: Basic Routing 2.2.1 Creating A Project 2.2.2 Writing Program 2.2.3 Testing 2.3 What's Next? 3. Input and Form Handling 3.1 Getting Started 3.2 Demo: Building Registration Form 3.2.1 Create A Project 3.2.2 Writing AngularJS Program 3.2.3 Building UI 3.2.4 Testing 4. Data Binding and Templates 4.1 Getting Started 4.2 Jade Template 4.2.1 Demo: Input Form 4.2.2 Writing Program 4.2.3 Testing 4.3 HTML Template 4.4 EJS Template 4.5 Handlebars Template 5. MongoDB Data Modeling 5.1 Getting Started 5.2 Demo: CRUD Application 5.2.1 Creating A Project 5.2.2 Database Access 5.2.3 Creating Data 5.2.4 Reading Data 5.2.5 Updating Data 5.2.6 Deleting Data 6. Express Routes and Middleware 6.1 Express Routes 6.1.1 Route Methods 6.1.2 Route Paths 6.1.3 Handling Querystring 6.2 Express Middleware 6.2.1 Building A Simple Express Middleware 6.2.2 Third-Party Middlewares 7. Cookie and Session 7.1 Getting Started 7.2 Cookie 7.2.1 CRUD Operations for Cookie 7.2.2 Testing 7.2.3 Signed Cookie 7.3 Session 7.3.1 Writing and Reading Session 7.3.2 Testing 8. Error Handling 8.1 Getting Started 8.2 Logging 8.3 Logging File 9. Building RESTful Application 9.1 Getting Started 9.2 Building A Contact Online Application 9.2.1 Building Database 9.2.2 Creating Project 9.2.3 Building Back-End 9.2.3.1 Database Access 9.2.4 Node.js and Express 9.2.5 Building Front-End 9.2.5.1 AngularJS Service and Controller 9.2.5.2 Jade 9.2.6 Deployment 9.2.7 Testing 10. Data Paging 10.1 Getting Started 10.2 Demo: Employee Viewer Application 10.2.1 Building Database 10.2.2 Creating Project 10.2.3 Building Back-End 10.2.3.1 Database Access 10.2.3.2 Generating Data 10.2.4 Node.js and Express 10.2.5 Building Front-End 10.2.5.1 AngularJS Service and Controller 10.2.5.2 Jade 10.2.6 Deployment 10.2.7 Testing   How to Buy You can get this book on the following online book store. Lulu, http://www.lulu.com/shop/agus-kurniawan/the-hands-on-mean-lab-manual-volume-1/ebook/product-22020510.html  Google Play Books, https://play.google.com/store/books/details?id=p4lvBgAAQBAJ  Amazon Kindle, https://www.amazon.com/dp/B00SXQAEUO  Kobo Book Store, http://www.kobobooks.com/ebook/The-Hands-MEAN-Lab-Manual/book-3KsjFOtX2EOXD7mcQiR7dw/page1.html  iBookstore, http://itunes.apple.com/us/book/isbn9781312876163

Tags:

Books | Database | Node.js

BeagleBone Black Programming by Example

by Agus Kurniawan 23. December 2014 23:32
BeagleBone Black is a low-cost, community-supported development platform for developers and hobbyists. I just released my new book, BeagleBone Black Programming by Example. This book helps you to get started with BeagleBone Black development using Python and Node.js with Debian Linux platform. Several demo samples are be provided to accelerate your learning. Table of Content 1. Preparing Development Environment 1.1 BeagleBone Black 1.2 Getting Hardware 1.3 Development Tools 1.4 Electronics Devices 1.5 BeagleBone Black Unboxing 2. Basic Configuration 2.1 Getting Started 2.2 Running BeagleBone Black 2.3 Connecting to A Network 2.4 SSH 2.5 Changing Password for root User 2.6 Adding New User 2.7 Configuring Network 2.8 Remote Desktop 2.9 SFTP 2.10 Connecting BeagleBone Black to Computer via Micro USB 2.11 Connecting to WIFI 2.12 Browser and Internet 2.13 Updating Software Package 2.14 Reboot and Shutdown 3. Serial Debugging 3.1 Preparation 3.2 Serial Debugging 3.3 Testing 4. BeagleBone Black Programming Language 4.1 Getting Started 4.2 C/C++ 4.3 Python 4.4 Java 4.5 Node.js 5. BeagleBone Black I/O Programming using Python 5.1 Getting Started 5.2 GPIO 5.2.1 Writing Digital Output 5.2.2 Reading Digital Input 5.3 Analog I/O (PWM) 5.3.1 Writing Analog Output 5.3.2 Reading Analog Input 5.4 UART 5.5 SPI 5.6 I2C/TWI 6. BeagleBone Black I/O Programming using Node.js 6.1 Getting Started 6.2 GPIO 6.2.1 Writing Digital Output 6.2.2 Reading Digital Input 6.3 Analog I/O (PWM) 6.3.1 Writing Analog Output 6.3.2 Reading Analog Input 6.4 UART 6.5 SPI 6.6 I2C/TWI 7. Arduino Development 7.1 BeagleBone Black and Arduino 7.2 Hello BeagleBone Black and Arduino 7.2.1 Connecting Arduino to BeagleBone Black Board 7.2.2 Building A Program 7.2.3 Testing 8. Working with XBee IEEE 802.15.4 8.1 XBee IEEE 802.15.4 8.2 Getting Hardware 8.3 Connecting XBee IEEE 802.15.4 to BeagleBone Black 8.4 XBee with AT Command 8.5 Demo Chatting Program 8.5.1 Hardware Configuration 8.5.2 XBee Configuration 8.5.3 Writing Python Program for BeagleBone Black 8.5.4 Testing 8.6 XBee with API Mode 8.7 Further Reading 9. OpenCV Development 9.1 BeagleBone Black and OpenCV 9.2 Hello OpenCV 9.3 Working with Camera 9.4 What's Next?   How to Buy You can get this book on the following online store. Lulu, http://www.lulu.com/shop/agus-kurniawan/beaglebone-black-programming-by-example/ebook/product-21966722.html  Google Play Books, https://play.google.com/store/books/details?id=ZYTtBQAAQBAJ  Amazon Kindle, http://www.amazon.com/dp/B00RD6KCBQ  iBookStore, http://itunes.apple.com/us/book/isbn9781312778696  Kobo Store, http://store.kobobooks.com/en-US/ebook/beaglebone-black-programming-by-example 

Tags:

BeagleBone Black | Node.js | Python

Kuliah Online: Pemrograman Node.js

by Agus Kurniawan 11. December 2014 20:53
Diundang di acara kuliah online: Pemrograman Node.js. Tujuan: Mempelajari konsep dasar pemrograman asynchronous dengan menggunakan Node.js dan penerapannya. Pemateri: Agus Kurniawan http://blog.aguskurniawan.net Biaya: Gratis Lokasi: 19 Desember 2014, Jam 16:00 - 17:00 WIB (GMT+7) http://youtu.be/v7zhcqoERXQ Topik: * Introduction to Node.js * Basic Node.js Programming Language * Building Web Application Based Node.js * Database Programming using Node.js * Node.js for Embedded System * Q&A Pendaftaran: http://goo.gl/forms/QQssiVmLtX **Note** Kuliah online akan dapat dilaksanakan jika pesertanya minimal 15 orang.

Tags:

Node.js

The Hands-on Intel Edison Manual Lab

by Agus Kurniawan 7. December 2014 17:14
Intel Edison development platform is the first in a series of low-cost, general purpose compute platforms and companies working in the Internet of Things (IoT) and Wearable Computing. I just released my new book, The Hands-on Intel Edison Manual Lab. This book helps you how to get started with Intel Edison development with Intel Edison kit for Arduino using Python, C/C++, and Node.js. Table of Content 1. Preparing Development Environment 1.1 Intel Edison 1.2 Getting Hardware 1.3 Development Tools 1.4 Electronics Devices 1.5 Intel Edison Boxing 1.6 Connecting Intel Edison to Computer 1.6.1 Windows Platform 1.6.2 Linux Platform 1.7 Updating The Latest Intel Edison Firmware 2. Yocto Embedded Linux-based OS 2.1 Getting Started 2.2 Configuring Intel Edison: Hostname and Password 2.2.1 Change Hostname 2.2.2 Change root Password 2.3 Connecting to Wi-Fi Hotspot 2.4 SSH 2.5 Change Date/Timezone 2.6 Web Server 2.6.1 Adding HTML File 2.7 SFTP 2.8 Development on Yocto Linux 2.8.1 Python 2.8.2 Node.js 2.8.3 C/C++ with GCC 2.9 Reboot and Shutdown 2.10 Updating Software 2.11 Installing Nano - Text Editor 2.12 Intel Edison Unofficial Repository 3. Working with Arduino IDE Software 3.1 Intel Edison and Arduino IDE Software 3.2 Hello Intel Edison and Arduino 3.2.1 Hardware Configuration 3.2.2 Building Application 3.2.3 Testing 3.3 Demo: Seven-Segment Display 3.3.1 Getting Started with 7 Segment Display 3.3.2 Deploying Hardware Wiring 3.3.3 Building Application 3.3.4 Testing 3.4 Working with Serial Communication (UART) 3.5 Reading Analog Input 3.5.1 Hardware Configuration 3.5.2 Writing Application 3.5.3 Testing 3.6 Working with Analog Output 3.6.1 RGB LED 3.6.2 Hardware Configuration 3.6.3 Writing Application 3.6.4 Testing 3.7 Working with SPI 4. Intel Edison I/O Programming using Python 4.1 Getting Started 4.2 GPIO 4.3 Analog I/O - Reading Analog Input 4.4 UART 4.5 SPI 4.6 I2C/TWI 5. Intel Edison Development using C/C++ 5.1 Getting Started 5.2 GPIO 5.3 Analog I/O - Reading Analog Input 5.4 UART 5.5 SPI 5.6 I2C/TWI 6. Intel Edison Development using Node.js 6.1 Getting Started 6.2 GPIO 6.3 Analog I/O - Reading Analog Input 6.4 UART 6.5 SPI 6.6 I2C/TWI 7. Bluetooth Low Energy (BLE) and iBeacon 7.1 Bluetooth Low Energy (BLE) 7.2 Pairing BLE Devices 7.3 BLE Development and iBeacon 7.4 Further Reading 8. Working with XBee IEEE 802.15.4 8.1 XBee IEEE 802.15.4 8.2 Getting Hardware 8.3 Connecting XBee IEEE 802.15.4 to Intel Edison 8.4 XBee with AT Command 8.5 Demo Chatting Program 8.5.1 Hardware Configuration 8.5.2 XBee Configuration 8.5.3 Writing Python Program for Intel Edison 8.5.4 Testing 8.6 XBee with API Mode 8.7 Further Reading   How to Buy You can get this book on the following book store. Lulu, http://www.lulu.com/shop/agus-kurniawan/the-hands-on-intel-edison-manual-lab/ebook/product-21939355.html  Amazon Kindle, http://www.amazon.com/dp/B00QOXR0JG  Google Play Books, https://play.google.com/store/books/details?id=XFe6BQAAQBAJ  Kobo Store, http://store.kobobooks.com/us-EN/ebook/the-hands-on-intel-edison-manual-lab  iBookStore, http://itunes.apple.com/us/book/isbn9781312736979  Nook Store, http://www.barnesandnoble.com/w/the-hands-on-intel-edison-manual-lab-agus-kurniawan/1120952875 

Tags:

Books | C/C++ | Intel Edison | Node.js | Python

Getting Started with Intel IoT and Intel Galileo

by Agus Kurniawan 18. October 2014 19:47
The Intel Galileo board is the first in a family of Arduino-certified development and prototyping boards based on Intel architecture. Intel provides Intel IoT Developer Kit which you can build and deploy application on top of Intel Galileo board. Now I released my new book, Getting Started with Intel IoT and Intel Galileo. This book helps you getting started with Intel IoT and Intel Galileo. Table of Content 1. Preparing Development Environment 1.1 Intel Galileo 1.2 Getting Hardware 1.3 Development Tools 1.4 Electronics Devices 1.5 Getting Started 2. Working with Arduino IDE Software 2.1 Intel Galileo and Arduino IDE Software 2.2 Intel Galileo Board 2.3 Connecting Intel Galileo to Computer 2.3.1 Windows Platform 2.3.2 Linux Platform 2.4 Updating Intel Galileo Firmware 2.4 Hello Intel Galileo and Arduino 2.4.1 Hardware Configuration 2.4.2 Building Application 2.4.3 Testing 2.5 Demo: Seven-Segment Display 2.5.1 Getting Started with 7 Segment Display 2.5.2 Deploying Hardware Wiring 2.5.3 Building Application 2.5.4 Testing 2.6 Working with Serial Communication (UART) 2.7 Reading Analog Input 2.7.1 Hardware Configuration 2.7.2 Writing Application 2.7.4 Testing 2.7 Working with Analog Output 2.7.1 RGB LED 2.7.2 Hardware Configuration 2.7.3 Writing Application 2.7.4 Testing 3. Accessing Internal Linux OS 3.1 Getting Started 3.2 Accessing File 4. Connecting to Internet Network 4.1 Getting Started 4.2 Connecting via Wired Ethernet 4.3 Connecting via Wireless Module 4.4 Building Web Server 4.5 Telnet 5. Yocto Embedded Linux-based OS 5.1 Getting Started 5.2 Preparation 5.3 Running 5.4 SSH 5.5 Change Password 5.6 Change Date/Timezone 5.7 Web Server 5.7.1 Adding HTML File 5.8 SFTP 5.9 Development on Yocto Linux 5.9.1 Python 5.9.2 Node.js 5.9.3 C/C++ with GCC 5.10 Reboot and Shutdown 5.11 Updating Software 6. Intel Galileo I/O Programming from Yocto Linux 6.1 Getting Started 6.2 GPIO 6.3 Reading Analog Input 6.4 UART 6.5 SPI 6.6 I2C/TWI 7. Intel Galileo Development using C/C++ 7.1 Getting Started 7.2 GPIO 7.3 Reading Analog Input 7.4 SPI 7.5 I2C/TWI 8. Intel Galileo Development using Node.js 8.1 Getting Started 8.2 GPIO 8.3 Reading Analog Input 8.4 SPI 8.5 I2C/TWI 9. Working with XBee IEEE 802.15.4 9.1 XBee IEEE 802.15.4 9.2 Getting Hardware 9.3 Connecting XBee IEEE 802.15.4 to Intel Galileo 9.4 XBee with AT Command 9.5 Demo Chatting Program 9.5.1 Hardware Configuration 9.5.2 XBee Configuration 9.5.3 Writing Python Program for Intel Galileo 9.5.4 Testing 9.6 XBee with API Mode 9.7 Further Reading   How to Buy You can get this book on the following book stores. Lulu, http://www.lulu.com/shop/agus-kurniawan/getting-started-with-intel-iot-and-intel-galileo/ebook/product-21856915.html  Amazon Kindle, http://www.amazon.com/dp/B00ON174XS  Google Play Books, https://play.google.com/store/books/details?id=c9TaBAAAQBAJ  Kobo Store, http://store.kobobooks.com/en-US/ebook/getting-started-with-intel-iot-and-intel-galileo   iBookStore, http://itunes.apple.com/us/book/isbn9781312609501

Tags:

Books | C/C++ | Embedded System | Node.js | Python

Backbone.js Programming By Example

by Agus Kurniawan 19. May 2014 19:32
I just finished my new book, Backbone.js Programming by Example. This book is a practical guide to Backbone.js programming and provides how to integrate with several web technology such as HTML5, Bootstrap CSS, RequireJS, PHP, Node.js and Socket.io. It describes all the elements of the Backbone API and illustrates their use with code examples. The following is a list of highlight topics: * Preparing development environment * Model, View, and Collection * Events and Model Validation * Backbone View Templates and Data Binding with case study: Underscore.js, Handlebars, Mustache.js * Backbone Router * Interacting with Server: Backbone Sync * Building Backbone mdular: Backbone.js, Handlebars, and RequireJS * Case study 1: Building web application with Backbone.js, PHP RESTful and MySQL * Case study 2: Building web application with Backbone.js, Node.js, Express RESTful, RequireJS and MongoDB * Case study 3: Building web application with Backbone.js, Node.js, Express and Socket.io   Table of Content 1. Preparing Development Environment 1.1 Backbone.js 1.2 Development Tools 1.3 Model View Controller 1.4 Hello World 2. Model, View, and Collection 2.1 Model and View 2.1.1 Creating Model 2.1.2 Setter/Getter for Model 2.1.3 Creating View 2.1.4 Using Model in View 2.2 Collection 2.2.1 Creating Collection 2.2.2 Adding Data 2.2.3 Retrieving Data 2.2.4 Finding Data 2.2.5 Removing Data 2.2.6 Testing 2.3 Working with Model Id 3. Events and Model Validation 3.1 Events 3.1.1 on() and once() 3.1.2 Demo once() 3.1.3 Removing Event 3.1.4 Trigger Event 3.1.5 listenTo(), listenToOnce(), and stopListening() 3.1.6 Events on Backbone View 3.2 Model Validation 4. Backbone View Templates and Data Binding 4.1 View Templates in Backbone View 4.2 Underscore.js 4.2.1 Getting Started 4.2.2 Binding Model and Collection into Template 4.2.3 Binding Model into HTML5 Elements 4.2.4 External Template File 4.2.5 Loading External Template File using jQuery 4.3 Handlebars 4.3.1 Getting Started 4.3.2 Binding Model to Handlebars Template 4.3.3 Binding Model and Collection to Handlebars Template 4.3.4 External Handlebars Template 4.4 Mustache.js 4.4.1 Getting Started 4.4.2 Binding Backbone Collection 4.4.3 External Mustache.js Template 4.5 Deploying Template Files on Web Server 5. Router 5.1 Getting Started 5.2 Dynamic Routing 5.3 Initializing Routers 5.4 Integrating Routers, Models, Collection, and Views 5.4.1 Wrapping Object 5.4.2 Defining Model and Collection 5.4.3 Building Backbone Views 5.4.4 Building Backbone Router 5.4.5 Template and HTML 5.4.6 Testing 5.5 Navigation 6. Interacting with Server: Backbone Sync 6.1 Getting Started 6.2 Case Study: Backbone Sync, PHP, and MySQL 6.2.1 Backbone Model and Collection 6.2.2 Backbone Sync 6.2.3 Backbone View 6.2.4 Backbone Template and HTML5 6.2.5 Database MySQL 6.2.6 Server Application - PHP 6.2.7 Deployment 6.2.8 Testing 7. Backbone Modular: Backbone.js, Handlebars, and RequireJS 7.1 Backbone Modular Using RequireJS 7.2 Case Study: Smartphone Shop 7.2.1 Project Structure 7.2.2 Module Loader 7.2.3 Models and Collections 7.2.4 Backbone Template with Handlebars and HTML5 7.2.4.1 Views 7.2.4.2 Handlebars Templates 7.2.4.3 HTML5 - index.html 7.2.5 Testing 8. Backbone.js, PHP RESTful and MySQL 8.1 Backbone.js on PHP 8.2 Project Structure 8.3 PHP RESTful: Slim Framework 8.3.1 Web Server IIS Windows 8.3.2 Enabling HTTP PUT and DELETE on Web Server IIS 8.3.3 Web Server Apache 8.4 Building Database 8.5 Building Back-End 8.5.1 Handling CRUD 8.5.2 Creating a PHP RESTful 8.6 Building Front-End 8.6.1 Backbone Loader 8.6.2 Backbone Model and Collection 8.6.3 Backbone Views 8.6.4 Handlebars Templates 8.6.5 HTML 8.7 Testing 9. Backbone.js, Node.js, Express RESTful, Require.js and MongoDB 9.1 Backbone.js on Node.js and Express 9.2 Building Database 9.3 Initializing Project 9.4 Project Structure 9.5 Building Back-End 9.5.1 Database Access 9.5.2 Node.js RESTful and Express 9.6 Building Front-End 9.6.1 Backbone Loader 9.6.2 Backbone Model and Collection 9.6.3 Backbone Views 9.6.4 Template and HTML 9.7 Testing 10. Backbone.js, Node.js, Express and Socket.io 10.1 Socket.io, Node.js and Express 10.2 Initializing Project 10.3 Project Structure 10.4 Building Back-End 10.4.1 Generating Stock Data 10.4.2 Node.js, Express and Socket.io 10.5 Building Front-End 10.5.1 Backbone Loader 10.5.2 Backbone Model and Collection 10.5.3 Backbone View 10.5.4 Building HTML with Handlebars Template 10.6 Deployment 10.7 Testing   How to Buy You can obtain this book on the following online bookstore: Lulu,  http://www.lulu.com/shop/agus-kurniawan/backbonejs-programming-by-example/ebook/product-21633845.html  Kindle Amazon, http://www.amazon.com/dp/B00KFN16SM  Google Play Book, https://play.google.com/store/books/details?id=ANuYAwAAQBAJ  Kobo Store, http://store.kobobooks.com/en-US/ebook/backbone-js-programming-by-example 

Tags:

Backbone | Books | Node.js | PHP

Generating Random Password Using Node.js

by Agus Kurniawan 20. December 2013 13:43
Sometime I need to generate a random password in node.js. I found a good approach how to generate it. You can read on http://jaspreetchahal.org/php-random-password-generator-function/. It was written in PHP. I’m interest to convert it into node.js. I finished to convert PHP generate random password into node.js. I have already pushed this code into Github. You can download it on https://github.com/agusk/randomPassword.js .

Tags:

Node.js

Book: SQL Server for Node.js

by Agus Kurniawan 4. November 2013 03:28
I just released my new book with title SQL Server for Node.js. This book helps you how to get started with Node.js and SQL Server. It covers how to prepare your development environment. Table of Content 1. Preparing Development Environment 1.1 SQL Server Driver for Node.js 1.2 System Requirements 1.3 Installing and Configuring 1.3.1 Operating System 1.3.2 Microsoft Windows SDK 1.3.2.1 Windows 7 1.3.2 Windows 8 and Windows 8.1 1.3.3 Compiler - Visual C++ 1.3.4 Node.js 1.3.5 node-gym 1.3.6 Python 1.3.7 SQL Server Native Client 1.4 Building msnodesql Source Code 2. Hello World - Connecting to Database Server 2.1 Database Configuration 2.1.1 User Login 2.2 Development Tools 2.3 Connectivity Testing 2.3.1 Writing Code 2.3.2 Testing 3. Database Table Operations 3.1 What are Table Operations? 3.2 Database Connection String 3.3 Inserting Data 3.3.1 Inserting a Single Data 3.3.2 Inserting Many Data 3.4 Reading Data 3.5 Updating Data 3.6 Deleting Data 3.7 Finding Data 4. Stored Procedures 4.1 Creating Stored Procedure 4.2 Executing a Stored Procedure 4.3 Stored Procedure with Parameters 4.3.1 Creating A Stored Procedure 4.3.2 Executing Stored Procedure from Node.js 4.3.3 Stored Procedure with Two Parameters or More 5. Working with Image and Binary Data 5.1 Image and Binary Data 5.2 Inserting Data 5.3 Reading Data 5.4 Deleting Data 6. Transactions 6.1 What is a Transaction? 6.2 Case 1 - Data Processing without Transaction 6.3 Case 2 - Data Processing with Transaction   How to Buy You can buy this book by following online website: Lulu: http://www.lulu.com/shop/agus-kurniawan/sql-server-for-nodejs/ebook/product-21281951.html Amazon Kindle: in progress http://www.amazon.com/dp/B00GF3L8M0 Kobo: in progress http://store.kobobooks.com/ebook/sql-server-for-node-js iBookStore: in progress http://itunes.apple.com/us/book/isbn9781304592651  NOOK: in progress http://www.barnesandnoble.com/w/sql-server-for-nodejs-agus-kurniawan/1117537574  Google Play Books https://play.google.com/store/books/details?id=CY-HAgAAQBAJ 

Tags:

Books | Database | Node.js

About Agus Kurniawan

Agus Kurniawan

For more detail about me click here [V]

Please entry your name into my guestbook [V]

If you want to contact me, please go here [V]

Go here for my professional services [V]

My Books

MicroPython for STM32 Nucleo Technical Workshop 

Learn CloudFormation  SparkFun nRF52832 Development Workshop

LinkIt Smart 7688 and LinkIt Smart 7688 Duo Development Workshop  CircuitPython Development Workshop

MicroPython for BBC micro:bit Technical Workshop  RedBear Blend v2 Development Workshop

Realtek Ameba RTL8195 Technical Workshop  Practical Contiki-NG: Programming for Wireless Sensor Networks

ESPectro32 Technical Workshop STEMTera Development Workshop

BeagleBone Black Wireless Technical Workshop Arduino MKR GSM 1400 Development Workshop

Dragino LoRa Development Workshop Learning AWS IoT

Tessel 2 Development Workshop Raspberry Pi Compute Module 3 Technical Workshop

Vue.js Programming by Example Administering and Developing SQL Server 2017 for Linux

Arduino MKRFOX1200 Development Workshop  Intelligent IoT Projects in 7 Days

Teensy Development Workshop Teensy 3.5 and Teensy 3.6 Boards Edition OpenMV Development Workshop

ESPresso Lite V2.0 Development Workshop  MicroPython for ESP32 Development Workshop

Arduino FIO Development Workshop  Getting Started with Android Things for Raspberry Pi 3

Pycom WiPy 2.0 Development Workshop  XBee ZigBee Development Workshop

SparkFun ESP32 Thing Development Workshop Getting Started With BBC micro:bit

Getting Started With Raspberry Pi Zero W Espruino Pico Development Workshop

Getting Started with ASP.NET Core for OS X, Linux, and Windows  Arduino TIAN Development Workshop

SimpleLink Wi-Fi CC3200 LaunchPad Development Workshop  MicroPython for ESP8266 Development Workshop

Smart Internet of Things Projects  Arduino UNO WiFi Development Workshop

XBee Wi-Fi development workshop SparkFun Simblee BLE Development Workshop

Mengenal Microsoft Azure ML Getting Started with Windows 10 IoT Core for Raspberry Pi 3

Arduino and Genuino Zero Development Workshop Go and SQL Server Programming By Example

Arduino and Genuino MKR1000 Development Workshop  Mengenal Microsoft Azure IoT

Getting Started with Raspberry Pi 3 PHP and PostgreSQL Programming By Example

Arduino and Genuino 101 Development Workshop Getting Started with Raspberry Pi Zero

Getting Started with Arduino Wiring for Windows 10 IoT Core Getting Started with Wolfram Language and Mathematica for Raspberry Pi

Arduino Uno: A Hands-On Guide for Beginner Arduino Leonardo and Arduino Micro: A Hands-On Guide for Beginner

RedBearLab CC3200 Development Workshop The Photon Kit Development Workshop

Python Programming by Example Raspberry Pi LED Blueprints

Bluno Beetle Development Workshop BeagleBone Black Programming using Matlab

Arduino Programming using MATLAB Digispark USB Development Workshop

Near Field Communication (NFC) for Embedded Applications Arduino Development for OSX and iOS

SparkFun ESP8266 Thing Development Workshop Teensy Development Workshop

Getting Started with Windows 10 for Raspberry 2 NodeMCU Development Workshop

Getting Started with ASP.NET 5 for OS X, Linux, and Windows Getting Started with Windows Remote Arduino

Redis Programming by Example The Hands-on ARM mbed Development Lab Manual

Getting Started With STM32 Nucleo Development Getting Started with Windows IoT and Intel Galileo

Learning C by Example Getting Started with Raspberry Pi 2

Getting Started with Arduino and Go The Hands-on Arduino Yún Manual Lab

The Hands-on MEAN Lab Manual, Volume 1 Go Programming by Example

Getting Started with Scratch for pcDuino Raspberry Pi Wireless Networks

BeagleBone Black Programming by Example Database Programming Using R

Learning R in 120 Minutes The Hands-on Intel Edison Manual Lab

Getting Started with pcDuino3 TI ARM Cortex-M LaunchPad Programming by Example

Raspberry Pi I/O Programming using Python Getting Started with Intel IoT and Intel Galileo

Pemrograman Java Tingkat Lanjut PHP and MongoDB Programming By Example

ASP.NET SignalR Programming By Example KnockoutJS Programming by Example

Getting Started with Java ME Embedded 8 and Raspberry Pi XBee IEEE 802.15.4 Programming

Raspberry Pi System Programming for Beginner Backbone.js Programming By Example

PHP and SQL Server Programming By Example AngularJS Programming by Example

jQuery Programming by Example Getting Started with Arduino and Ruby

Raspberry Pi Command Line for Beginner Getting Started with Arduino and Python

MSP430 LaunchPad Programming TypeScript Programming by Example

Getting Started with Matlab Simulink and Arduino SQL Server for Node.js

Pocket Reference: Netduino for Beginner Database Programming using Matlab

Pocket Reference: Basic Sensors in Windows 8 Getting Started with Matlab Simulink and Raspberry Pi

Getting Started with Arduino and Java  Pocket Reference: Raspberry Pi Programming

Getting Started with Arduino and Matlab Getting Started with Arduino and .NET

Pocket Reference: Raspberry Pi Getting Started with Arduino and Node.js

MongoDB for VB.NET Panduan Praktis Windows Azure

Network Forensics: Panduan Analisis Dan Investigasi Paket Data Jaringan Menggunakan Wireshark Object-Relational Mapping (ORM): MongoDB, Mongoosejs and Node.js By Example

Nodejs Programming by Example MongoDB for by Example

Pemrograman Parallel Dengan MPI dan C Panduan Lengkap iPad 2 Untuk Pemula

Pemrograman Jaringan Dengan Java Aplikasi Pilihan iPad Untuk Anak-Anak

Buku lainnya [V]

Agus Kurniawan is Microsoft MVP (Most Valuable Professional)

Agus Kurniawan- Github Profile

Agus Kurniawan- Codeplex Profile

Follow Me

Follow agusk2010 on Twitter

Month List