A responsive, AngularJS “movie picker”

So, I have been working on a little side-hustle and I figured that I would share the most recent chunk of it.  I needed a way of allowing a person to uniquely select a movie.  You don’t want to just give the user a free-form box because of the 52 different ways you could input …

Continue reading "A responsive, AngularJS “movie picker”"

AngularJS: Exploring ng-bind-html, date formating, and filters

I have been intending to revisit Pocket Joe, in the near future.  When I do so, I want to include my social media feeds.  No matter how much I blog, I am always going to post to Twitter and Google+ more often.  So, how do you include your public Google+ feed in your app?

Continue reading "AngularJS: Exploring ng-bind-html, date formating, and filters"

AngularJS: Exploring ng-repeat, ng-show, and more

I have been meaning to to explore the capabilities of AngularJS a little more, so I whipped up this small demo app.  It takes your zip code (hard-coded into the JavaScript file), queries a YQL API, and displays a listing of the nearest NPR stations.  It is not the most unique piece of code but …

Continue reading "AngularJS: Exploring ng-repeat, ng-show, and more"

AngularJS: Creating a simple RSS reader

In my first AngularJS post, I went through a very basic example of what Angular can do.  We covered how to loop over an array.  This time around, I would like to look at using ng-model to take input, how to create a basic Angular RSS reader (because that’s apparently “my thing“), and how to …

Continue reading "AngularJS: Creating a simple RSS reader"

CouchDB: How to enable CORS in CouchDB

I was playing around with consumption of a CouchDB JSON feed when I received the familiar “Cross-Origin Request Blocked” error.  The question is, “How do you enable CORS in CouchDB?” If you open the ‘Configuration’ tool, you will find ‘enable_cors’ under ‘httpd’.  You want to change that value to ‘true’.   Next, if you scroll down …

Continue reading "CouchDB: How to enable CORS in CouchDB"

CouchDB: Requiring users of your database be valid users

So, you just created a CouchDB database, added a user to it, and want access to be limited to that user?  There is a simple way of doing this.  Let’s use a previous example, for this demo. As you can see below, by default, you do not need to be authenticated, in order to interact …

Continue reading "CouchDB: Requiring users of your database be valid users"