JavaScript for Line of Business Applications
596.1K views | +0 today
Follow
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...

Popular Tags - Filter using the Funnel

Current selected tags: 'Grunt', 'deployment'. Clear
Scoop.it!

Gulp is awesome, but do we really need it?

Gulp is awesome, but do we really need it? | JavaScript for Line of Business Applications | Scoop.it
I've been using Grunt and Gulp for some time now. However, I've realized lately that with a simple package.json I can do the same, but more manteinable and with less code. In this post, I'll explain how we can do it!!
No comment yet.
Scoop.it!

Automating Complex Workflows with Grunt Custom Tasks

Automating Complex Workflows with Grunt Custom Tasks | JavaScript for Line of Business Applications | Scoop.it

Fast-forward to this month, and it seemed worthwhile to get my Node.js service for Blastanova caught up to speed with the newly crowned and beloved taskrunner, Grunt.js. It’s a relief to offload the task-running glue of my project to a massively used and iterated open-source project. I can use a bunch of convenience features that already exist like copying files, FTPing, reading JSON configurations, et cetera…and I can also build on them and create custom tasks unique to my project.

Now I have a new project for which I’m using Grunt.js. I’ll take this opportunity to share a task Grunt.js can perform that I find pretty darn awe-inspiring because of the awesomeness of the most well-known, cross-platform, free video utility available today. FFMPEG is used all over the place to convert a piece of audio or video from one format to another and/or inject metadata into them. Some folks will use it to transform video on the fly for you to watch if your platform doesn’t support a specific format. Me? I’m running a radio show, so my Grunt task needs to be the sort of thing where I send video in and get audio out.

So there it is, my current project problem set-up. Let’s talk about how to get it done!

No comment yet.
Scoop.it!

Using Grunt to Simplify Build Processes

Using Grunt to Simplify Build Processes | JavaScript for Line of Business Applications | Scoop.it

Here are some of the things we wanted to do originally:
* Preprocess the index.html template
This lets us distinguish between builds for different platforms. E.g. Android vs. iOS vs. Web
* Compile the templates into a single template file
Less requests means faster load times. The single most important load time to minimize is the first one.
* Minify the CSS and JS
Both are interpreted languages which parse and run faster when there’s less characters to be parsed.
* Lint the existing codebase for semantic gotchas
A standard software engineering practice that catches subtle kinks in the code before they get out of hand.
* Run shell tasks as build phases
Handy for moving files around or further automation during intermediary stages of a build process.
* Connect to the PhoneGap Build system
We used this system in the early stages of the app to keep things relatively uniform across Android and iOS platforms.

No comment yet.
Scoop.it!

Yeoman, Express and AngularJS

Yeoman, Express and AngularJS | JavaScript for Line of Business Applications | Scoop.it

I already used yeoman for AngularJS applications: now I want to build a NodeJS/Express application powered by AngularJS with all the goodies provided by yeoman.

And... before searching for and trying an existing express-angularjs yeoman generators I'd like to do it by hand, just for fun and for diving into NodeJS/grunt & co.

  • AngularJS setup with yo
  • Express initialization
  • Express integration with AngularJS
  • Fix grunt build
  • Grunt server and livereload


No comment yet.
Scoop.it!

Advanced Grunt tooling

Advanced Grunt tooling | JavaScript for Line of Business Applications | Scoop.it

Grunt has made web development more enjoyable. By automating repetitive tasks, it has allowed web developers to focus on building features rather than copying, compiling, and configuring.

 

In this post, I will share some advanced tooling with Grunt which will help you use it to its full potential.

* Bash functions
* Loading all grunt tasks automatically
* Aliasing tasks
* Verbose mode & debugging
* Invest in a good watch
* Using variables in your configuration
* Running individual test specs
* Plugins to check out

No comment yet.
Scoop.it!

Speed Up Your Web Development Workflow with Grunt

Speed Up Your Web Development Workflow with Grunt | JavaScript for Line of Business Applications | Scoop.it

In a series of tutorials, I’m going to help you get started with Grunt, an open source JavaScript task runner that will automate some of your web development tasks.

This nifty JavaScript library will notably speed up and improve your web development processes, and also help you sidestep common human errors.

My intention with this Grunt tutorial series is to get you to experience the same productivity and efficiency improvements I’ve gained through this useful, but little-known open source JavaScript tool.

No comment yet.
Scoop.it!

Building a JavaScript Library with Grunt.js

Building a JavaScript Library with Grunt.js | JavaScript for Line of Business Applications | Scoop.it

A new release of a typical, non-trivial JavaScript project needs to run unit tests, concatenate all source files into one file and minify the result. Some of them also use code generators, coding style validators or other build time tools.

This post explains how to use Grunt.js to build JavaScript library. Grunt.js requires Node.js and npm to run, so first sections explain what those are, how to install them and how to use them. You can feel free to skip those sections if you have already worked with npm. The fourth and fifth sections cover how to configure Grunt and a number of typical Grunt tasks.

No comment yet.
Scoop.it!

Grunt & Gulp – an overview

Grunt & Gulp – an overview | JavaScript for Line of Business Applications | Scoop.it

Most often people associate both Grunt & Gulp with building systems but they are not restrict to that and both can form part of the of a front end dev’s day to day development process being able to run tests & reload html when altered, etc

Similarities
  • Both use Node.js to provide their functionality
  • Installed via NPM & need both a global and project specific install
  • Have a plugin eco-system
  • Their configuration files are valid JavaScript
  • Configuration consists of “Tasks”
No comment yet.
Scoop.it!

Kickstart Your AngularJS Development with Yeoman, Grunt and Bower

Kickstart Your AngularJS Development with Yeoman, Grunt and Bower | JavaScript for Line of Business Applications | Scoop.it

Whether you love or hate it, there’s no denying that AngularJS is the framework on every developer’s lips. It may not be for everybody, but AngularJS has a quirky, efficient and powerful feature set. Couple that with a few useful development tools like Yeoman, Grunt and Bower and you’ve got yourself an incredibly fast rapid prototyping process.

 

This AngularJS tutorial will cover:

* Generating a bare bones AngularJS app with Yeoman

* Using Grunt to speed up development and help perform repetitive tasks

* Using Bower to add third party plugins/frameworks

* Making minor changes to your AngularJS app

No comment yet.
Scoop.it!

AngularJS + TypeScript : Workflow

A introductory video on quickly creating AngularJS applications using TypeScript and how you can organize your project. 

This video shows you how you can organize your project so you can rapidly create new Controllers / Directives / Services / Filters with minimum dependency management and file path awareness. 

No comment yet.
Scoop.it!

Continuous Deployment with Yeoman and Jenkins

Continuous Deployment with Yeoman and Jenkins | JavaScript for Line of Business Applications | Scoop.it

Whenever a new commit is pushed to the master branch, our internal Jenkins server picks it up and runs not only the test suite, but the complete grunt pipeline. It also installs all the bower components before that, as those are not part of our repository. There are conflicting opinions on whether committing your components to the repository is a good idea or not. In our case we haven’t seen any negative side-effects. If the build and test suite passes, Jenkins updates or initializes a new git repository in the dist folder that the grunt build created and pushes the complete content to a dedicated deployment remote. After that, Jenkins kicks off capistrano which checks out the deployment remote on the staging server.

No comment yet.
Scoop.it!

Grunt, the perfect tool for Require.js

Grunt, the perfect tool for Require.js | JavaScript for Line of Business Applications | Scoop.it

RequireJS is a really powerful tool to deal with modules and dependencies. It also provides a great optimizer, which allows you to have your entire application (or part of it, as needed) in a single file. It even can uglify the code, which means your code will no longer be human readable.

However, when your project gets complex, it can be very, very difficult to deal with the configuration. Although it is always possible to come up with a solution for your project, sometimes, you just need to add extra configuration only for the optimizer.

Grunt can help you do that, because it must be reminded that this tool is "only" a Nodejs application. This characteristic will allow you to interact with your project...

No comment yet.
Scoop.it!

Building Apps With the Yeoman Workflow

Building Apps With the Yeoman Workflow | JavaScript for Line of Business Applications | Scoop.it

What Is Yeoman? Trick question. It's not a thing. It's this guy: Basically, he wears a top hat, lives in your computer, and waits for you to create. As an example, scaffolding a web application would look something like this: ...

No comment yet.
Scoop.it!

Single Page JavaScript Application Workflow with GruntJS

Single Page JavaScript Application Workflow with GruntJS | JavaScript for Line of Business Applications | Scoop.it

I started playing around with creating a workflow for creating single page applications with JavaScript. The big player in this workflow is GruntJS. In this Single Page JavaScript Application Workflow Tutorial I will explain how to setup a build process for your development and production environment. We will be using several GruntJS plugins to help us.

No comment yet.