Since I like using AngularJS and the current client project and the last few client projects I’ve been on use AngularJS, I realized there may be others out there who want to start learning AngularJS or enhancing their current AngularJS web apps. So I started a newsletter where we post the newest books, tutorials, articles, modules and code libraries that AngularJS developers should check out.
Here I’m going to talk about how to use mocks when writing unit tests for Django. Using mocks has really opened my eyes on how much better unit tests can be written.
At least judging by the stats on the Learning AngularJS newsletter (click here to check it out). The last two newsletters were about AngularJS 2 and the open and click rates were much much lower. It looks like the people subscribed want more real-world AngularJS 1.x articles and tips. It makes sense as there is a lot of AngularJS 1 code out in the wild and AngularJS 2 has only just hit the developer preview stage and won’t be out for another year.
While the documentation for jasmine is great, sometimes all you need a cheat sheet to reference for the API. I found this jasmine testing cheat sheet to be very useful after doing lots of Python unit testing which doesn’t use the same API as jasmine at all. The cheat sheet helps reduce the penalty of the context switch.
Moodle and Sakai are good choices for setting up online courses and possibly for MOOCs. I’ve been looking at CoursePress, a plugin for WordPress. All solid choices and easy to get started with.
Originally posted on SourceContribute:
Hi, I’m Tony and I am a university student in Sweden. The university I go to uses two great free/open source products for their elearning platform and learning management system. Today I am going to talk about these products: what they are, some of their features and what strengths and bottlenecks they have.
Both are educational web-based platforms which allow students and teachers to communicate with each other on bulletin board systems, with web-based online forums. More importantly, they are places where students can hand in their assignments and have them graded by teachers.
They both offer an educational platform with similar feature sets, so in that regard they are competitors.
Flexible in design, students and teachers can customise how pages appear by choosing from a multitude of themes. All you have to do is log in with a username and password and go change the theme in your…
View original 982 more words
All of the top-level definitions in the AngularJS API are included in the auto-complete dictionaries. The dictionary for angular-html-mode contains all the common directives.
Originally posted on technpol:
We use protractor for our end-to-end tests. A variety of pages are suggesting that selection of dropdowns, and validation of dropdowns, is tricky. And I think they’re right.
This post deals with a couple of code snippets that I’m using to deal with dropdown selection.
View original 385 more words
Originally posted on Almost looks like work:
As the old saying goes, you wait ages for a bus and then two come along at once (or more!). Is this true though? My own anecdotal evidence would suggest yes, every single bloody time. However, we love data and maths in this blog almost as much as we hate waiting for the bus, so let’s have a more thorough look at the issue.
View original 1,555 more words