Posts

Showing posts from June, 2018

Getting Started with Vue.js

Image
I've been using AngularJS for the longest time. I decided to level up my front-end development knowledge, and part of that is learning about new front-end frameworks. Angular and React are the most popular ones these days, but I also stumbled on Vue. I immediately liked it. In this post, I share how easy it is to get started using Vue. Even easier than AngularJS! It's Very, Very Easy To get started using Vue, follow these steps: 1. Create a new HTML page and add a reference to the Vue script file. You can download a copy or reference it via a CDN: <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> 2. Create an element that Vue will manage. Normally this would be a div . Give it an id: <div id="app"> </div> 3. Inside, create a data-binding target using curly brace syntax or mustaches, similar to what is used in other frameworks like AngularJS: Hello, {{message}}! 4. Through JavaScript, cr...

Azure Quickstart: SQL Azure

Image
In a previous post, we talked about hosting a web app with Azure app services . Now, we are going to see how to setup a SQL database on the Azure platform. Creating an Azure SQL Database To create an Azure SQL database, follow these steps: 1. Click on SQL databases on the hub on the left. That will take you to the SQL databases blade, where you can see your existing databases. 2. Click on the Add button or on the Create sql database button. The blade to create the SQL database will appear: 3. Fill in all of the required fields. Database name : This will be the name of the database, for use in the connection string. Subscription : This is the name of the subscription where this SQL database will be a part of. Resource group : This is the name of the resource group where this SQL database will be a part of. Select source : We are creating a new, empty database, so select Blank database. Server : This is the SQL Server instance where the database will live. One SQL ...