Tag Archives: AngularJS

NoSQL and MongoDB

So when you see the term NoSQL, do you think “No SQL? Is this some type of anti-Standard Query Language protest?”

SQL is used to query large databases for information, and many of us think of SQL as either Microsoft SQL Server or MySQL. With the growth of data gathering it became clear that the typical relational database would not be able to handle the amount of data that was being collected. NoSQL was developed in 1998 by Carlo Strozzi. He coined the term “NoSQL” but felt that “NoREL” would have been a better name since NoSQL doesn’t use a SQL relational model.

So what does MongoDB have to do with NoSQL? MongoDB is a type of NoSQL database, specifically a document-oriented NoSQL database, which means its strength is in managing large amounts of consistent document types like pictures or blog postings. The term Mongo comes from the word “humongous,” referring to the large amount of data that this NoSQL implementation can hold. We are talking petabytes of information, each petabyte equaling 1024 terabytes. MongoDB is capable of supporting petabytes of data in datasets across multiple servers.

We have joined forces with expert Jordan Hudgens to develop three new courses designed to help you get started with NoSQL and MongoDB.

NoSQL: What is NoSQL (Now available)
You will be introduced to the concepts behind the NoSQL ecosystem, including what NoSQL is and isn’t. You will learn the advantages and disadvantages of using a NoSQL database, the benefits of leveraging a schema-less database in your applications, and how to set up the environment used to develop an application.

NoSQL/MongoDB: Implementation of AngularJS (Now available)
You will learn how to implement the basic AngularJS portions of an application. You will see some of the basic features that AngularJS offers before we get into routing, function, and service integration.

NoSQL/MongoDB: Buildout to Going Live (Coming 11/24/14)
You will learn how to build out more functionality within an application, including how to leverage Express for Node.js to your advantage. You will learn about server side coding and App.js customization and model setup. You will discover how to build out the remaining views and take the application live, and how to incorporate Bootstrap into your application to give it a more professional look and feel.

Visit LearnNowOnline to learn more about these courses, and explore how NoSQL and MongoDB can help you manage “humongous” amounts of data efficiently and effectively.

About the Author


brianblogpic-150x150

Brian Ewoldt is the Project Manager for LearnNowOnline. Brian joined the team in 2008 after 13 years of working for the computer gaming industry as a producer/project manager. Brian is responsible for all production of courses published by LearnNowOnline. In his spare time, Brian enjoys being with his family, watching many forms of racing, racing online, and racing Go-Karts.

 

A New Angle on Web Development

There is a relatively new open source JavaScript framework that is currently taking the web development community by storm. I’m speaking of AngularJS, which Black Duck’s Open Hub Web site (formerly Ohloh) currently has listed as one of the most active open source projects. Although it started at the top of 2010, it has really been in the last couple years that it has grown to rock star status and has become a go-to framework for many web developers.

So what’s so powerful about AngularJS? The power is in how it easily binds data to the objects on a Web page. It is essentially an MVC framework that can efficiently create dynamic views in a Web browser. AngularJS is built to perform all those complex, low-level DOM manipulation commands so you don’t have to. But doesn’t jQuery do that? Sure, but AngularJS is jQuery to the next level, and can be used in tandum with jQuery or as a complete replacement. AngularJS also provides built-in AJAX support and, unlike jQuery, RESTful services support.

AngularJS also has the unfair advantage of being heavily supported by Google with many Google developers actively working to improve the framework. That has led to a huge community that is actively engaged with the open source project on GitHub. So with or without Google, it is destined to stay on top as one of the best frameworks to use—so use it with confidence.

Ok, so what does AngularJS look like? Let’s look at a simple example of data binding using AngularJS. We will take a look at a Web page to do Fahrenheit to Celsius converting. The first step is we need to reference the Angular JavaScript file in the <head> tag. That is shown here:

Next add the following HTML code to the body:

What’s going on here? In the first DIV tag we provide scope for the block of HTML that will leverage AngularJS by including the “ng-app” attribute. AngularJS chose the ng namespace for the fact that when you phonetically say “NG” you say “aye-n-g” which is about as close to “angle” that you can get with two letters. Ok, moving on.

We then see an attribute “ng-init” that is used to initialize a variable “fTemp.” This sets the variable to 32. It is then used in the <input> tag to bind that textbox value to the variable fTemp. This variable is then used in the calculation of Celsius. Next you come across the double curly braces, “{{ }}”, which AngularJS picks up and evaluates what is between them. In this case, we calculated what the equivalent Celsius value is based on the current setting of Fahrenheit.

Below is what the page looks like:
NewAngleWebDevelopmentimg1

And if I change the value of Fahrenheit, the Celsius instantly changes as well, as shown here:
NewAngleWebDevelopmentimg2
Although this is a simple AngularJS example, I hope you can see the power behind it. It wouldn’t take much additional code to bind this Web page to a RESTful service that returns the current temperature in your area. And it’s not just weather data – you could hook up dynamic pages to your company’s data and manipulate it easily on the fly without getting buried in all the DOM-related calls or dealing with all the nuances of different browsers.

Check out our AngularJS courses for yourself and see John Culviner break down AngularJS so you can leverage the power in your Web sites.

About the Author

martysMartin Schaeferle is the Vice President of Technology for LearnNowOnline. Martin joined the company in 1994 and started teaching IT professionals nationwide to develop applications using Visual Studio and Microsoft SQL Server. He has been a featured speaker at various conferences including Microsoft Tech-Ed, DevConnections and the Microsoft NCD Channel Summit. Today, he is responsible for all product and software development as well as managing the company’s IT infrastructure. Martin enjoys staying on the cutting edge of technology and guiding the company to produce the best learning content with the best user experience in the industry. In his spare time, Martin enjoys golf, fishing, and being with his wife and three teenage children.

Watch “Getting Started with AngularJS”

GettingStartedwithAngularJSwJC

This week expert John Culviner presented the webinar “Getting Started with AngularJS.” John covered how AngularJS can be used to create interactive web pages, and how it makes this process quicker and easier than most JavaScript frameworks. He presented some very valuable material during the 90-minute presentation and Q&A session. If you missed this event, you can watch the replay now. In fact, replays of all of our past events are now available in the LearnNowOnline webinar archive — be sure to check it out.

Our next webinar is Wednesday, July 23rd and will be presented by Doug Ortiz. Doug will be demonstrating the power of Power Pivot Dashboards and how you can add graphics to your company’s data so your audience can more easily see what all that data means. Register now

About the Author

BrianBlogpicBrian Ewoldt is the Project Manager for LearnNowOnline. Brian joined the team in 2008 after 13 years of working for the computer gaming industry as a producer/project manager. Brian is responsible for all production of courses published by LearnNowOnline. In his spare time, Brian enjoys being with his family, watching many forms of racing, racing online, and racing Go-Karts.

Introduction to AngularJS with John Culviner

Watch the trailer for “AngularJS: Getting Started.

Watch the trailer for “AngularJS: Getting Started.

AngularJS is an open source MVC framework for efficiently creating dynamic views in a web browser using HTML and JavaScript. It is being actively developed by Google and others who are investing time and money to make it a great framework. AngularJS has been described as the “one framework to rule them all” by Brad Green, director of engineering and manager of AngularJS at Google.

The LearnNowOnline production team has been working with expert John Culviner to create two new courses that explore AngularJS, including how it compares to other libraries such as jQuery, Backbone, and similar technologies; and examples covering Directives, Controllers, Filters and the like.

AngularJS: Getting StartedNow available
AngularJS: Singular Page ApplicationComing June 10th

John is an independent software consultant who works extensively with AngularJS and .NET, and is a JavaScript single page application guru. In our AngularJS: Getting Started course, he makes the bold statement that from what he’s seen, AngularJS appears to be the number one framework out there. See if you agree! Log in to your account to start learning about AngularJS now, or visit our web site to learn more about available courses.

About the Author

BrianBlogpicBrian Ewoldt is the Project Manager for LearnNowOnline. Brian joined the team in 2008 after 13 years of working for the computer gaming industry as a producer/project manager. Brian is responsible for all production of courses published by LearnNowOnline. In his spare time, Brian enjoys being with his family, watching many forms of racing, racing online, and racing Go-Karts.