AngularJS State Management with ui-router. Managing state with AngularJS's ui-router ( is down right elegant.
How is it different from a traditional router you might ask? Well I'll tell you, but first... A little history about routers. You're deploying it wrong! TeamCity, Subversion & Web Deploy part 5: Web Deploy with TeamCity. In the first four parts of this series we got config transforms playing nice, command line builds and packaging ticking along, Web Deploy happily receiving our application and TeamCity continuously building the entire solution on every commit.
The last thing to do is to harmonise everything so that we can actually automate the deployment. Breaking down the build and deploy processes First up, we’re now only focussed on the web application. If there are other projects in the solution on which the web app is not dependent, they’re not going to play a role in this post. It’s now all about building, packaging and deploying the UI layer and anything it’s dependent on.
However, we only want to do this if the build in the last part of the series has passed. Full-Spectrum Testing with AngularJS and Karma. Learn how to fully test your AngularJS application with Karma One of the major areas of AngularJS development which needs to be covered in better detail is how to test your application.
Failed deployments are fully rolled back. Plugin Information Prerequisites LiveRebel helps you release apps - code, database and config - across environments safely with no user interruption or downtime. If you do not already have LiveRebel, download the free version and install it. You're done! Using Testacular with Jenkins for AngularJS e2e Testing. JetBrains/meta-runner-power-pack. Linux Scripts for Easy Installation. To quickly install YouTrack from .jar distribution under Linux, perform the following steps under root user: You can now access YouTrack on port 80 via HTTP.
As of writing this post, it’s a medium sized app (~10 modules, ~20 controllers, ~5 services and ~10 directives) with quite decent test coverage. When I look back, I find myself learning much more about Angular.js than before. It’s not a smooth ride: I’ve gone through lots of refactor and rewrite. Karma-runner/karma-ng-html2js-preprocessor.
Jonnyzzz/TeamCity.Node. Eugene on dev: Kotlin, Node.js and TeamCity. In this post I describe Node.js support plugin that was implemented in Kotlin Node.js The goal of the plugin is to provide an initial support for Node.js scripts execution on TeamCity.
Plugin does the following: Detects system installed Node.js on the agent machine, it adds node.js configuration parameter with Node.js versionProvides a build runner to start .js file or script text This is the runner settings page. Kotlin In the plugin I decided to use Kotlin. TeamCity requires plugin to extend some Java classes or interfaces and register implementations in Spring Framework Dependency Injection. In the build runner implementation I had to handle several IO errors. A Step by Step Guide to using GitFlow with TeamCity – Part 2 – GitFlow – a Branching Model for a Release Cycle. In Part 1 – I covered off a brief overview of the branching model differences between TFS and Git.
One of the most interesting developments to happen in the Git ecosystem (apart from its growing adoption rate) is the creation of the Git Flow branching model and its embodiment as an plugin extension to the core Git client libraries. GitFlow sets out to answer the following questions that plague every software development team: How can we: Keep our repository tidy? Have consistency between projects? The solution GitFlow proposes is a prescriptive branching model, born of experience which answers the questions above, and a set of Git Extensions that allow you to manage and automate work through that model. GitFlow specifies the following branch structure: masterhotfixesrelease branchesdevelopfeature branches.
The general trend is an obsession with organizing things by type. It bears a striking resemblance to the way people organize their clothing. Modular AngularJS App Design. I am a sucker for modules. Something about bundling a set of functionality and display logic into a module that can be easily redistributed for many apps makes my skin tingle.
So when I saw that “modules” were a big part of the AngularJS methodology, I was super excited to try it out. I quickly realized however, that most of the examples online used one module for the entire application, which didn’t seem all that modular to me. At my current company we are developing an app that is ideal for the modular approach. We essentially have separate “apps” within our application, each of which we have bundled into full angular modules. Node.js - AngularJS and ExpressJS Routing issue. More AngularJS Magic to Supercharge your Webapp. Make way for another amazing article which covers more of AngularJS Due to the popularity of the previous article, Use AngularJS to power your web application, I've decided to cover more of AngularJS to make it fun and easy for all developers to play around with it.
AngularJS is an incredible tool, but a lot of the more advanced features are hidden in deep within the documentation and others are too tricky to learn direclty. AngularJS is also a fairly new product and as a result there are many features that are yet to be discovered and blogged about. This article will cover more of the hidden gems of AngularJS and introduce new development tricks and methods to supercharge your AngularJS application.