Creating a CRUD App in Minutes with Angular's $resource Most Single Page Applications involve CRUD operations. If you are building CRUD operations using AngularJS, then you can leverage the power of the $resource service. Built on the top of the $http service, Angular’s $resource is a factory that lets you interact with RESTful backends easily. So, let’s explore $resource and use it to implement CRUD operations in Angular. Prerequisites The $resource service doesn’t come bundled with the main Angular script. RESTful API User Authentication with Node.js and AngularJS My all time most viewed article is How To Handle User Authentication With AngularJS Inside Your Ionic App, and it’s also the one with the most questions. User authentication is one of the features almost every app(web and mobile) needs today. In this series I will show you my best practice for creating a RESTful API with user authentication. We will craft a little Node.js server which will allow us to sign up, authenticate and afterwards take request for protected endpoints.
Using FreeTDS to connect to SQL Server from Debian Apache/PHP This post describes how to set up a web site which uses PHP to connect to a backend SQL Server database using FreeTDS. I wrote it because I found the documentation currently available a bit confusing until I had completed the task, when it turned out to be really simple. I am setting up a development environment for a project I will be undertaking which ports a Microsoft Access application connected to a SQL Server database to become a web application. To avoid a complete tie in with Microsoft technologies I decided to use an Apache Web server running PHP as the main platform for this application. Although the final system will probably run on a Windows server, it is much more convenient for me to develop in a Linux environment where I have all my tools setup.
How To Handle User Authentication With AngularJSDevdactic Implementing a login and user authentication system for your AngularJS app seems to be one of the hardest problems people encounter. My article on a simple login with Ionic and AngularJS is the far most viewed article on this blog, every day! As the mentioned article only describes a basic system for a very low level security, this article will highlight everything you need for a complete user authentication and login inside your AngularJS app! In particular this means, this article will show you how to: Log in a user and store the user session (Token based auth!)
Recipes with Angular.js - Listening on Route Changes to Implement a Login Mechanism Listening on Route Changes to Implement a Login Mechanism Problem You wish to ensure that a user has to login before navigating to protected pages. Solution Implement a listener on the $routeChangeStart event to track the next route navigation. Redirect to a login page if the user is not yet logged in. Techniques for authentication in AngularJS applications — Opinionated AngularJS Authentication The most common form of authentication is logging in with a username (or email address) and password. This means implementing a login form where users can enter their credentials. Such a form could look like this: <label for="username">Username:</label> <input type="text" id="username" ng-model="credentials.username"> <label for="password">Password:</label> <input type="password" id="password" ng-model="credentials.password">
Bootstrap Tabs with Angular.js Twitter Bootstrap Tabs are a very popular feature - at least for me. I have them several times in my app. As part of my migration to Angular.js I want to use directives to switch between tabs. Printing to a zebra printer from VB.Net Printing to a zebra printer from VB.Net by Christiaan Baes (chrissie1) on June 16, 2008 in category Microsoft Technologies VB.NET. Article views: 27,389 Instapaper 15 Useful AngularJS Tools For Developers - Hongkiat Thinking of dipping your toes into Angular? If you have gone through our 10 best tutorials to learn AngularJS post and would like to play around with Angular on your own, you’re on the right post. We have here some tools that can streamline your development workflow. We’re looking at 15 of the best IDEs, text editors, tools for testing & debugging, modules and development tools and apps for building with Angular.
Angular html5Mode support for Yeoman & generator-angular Smash the hash: Angular’s html5mode and pushState In my previous article about using generator-angular to develop Angular applications, we left Angular with its default setting of using hashes for urls, for example This is the way that Angular ships by default and it’s completely fine, but for us pickier devs there’s the html5Mode setting which uses pushState with a fallback shim for unsupported browsers. There are a few things we need to do in order to enable Yeoman & generator-angular to work in this way. First off is setting html5Mode in our app so that Angular knows we want to use pushState instead of hashes.