Tag Archives: web framework

Deploying a Django App with mod_wsgi on Ubuntu 14.04

via Deploying a Django App with mod_wsgi on Ubuntu 14.04.

Django is a free, open-source, Python-based web framework. Django follows the MVC architectural pattern, with special emphasis on creating your applications rapidly. In recent times, Django has become a popular choice for creating web applications. Popular services like Instagram, Bitbucket and Pinterest were developed using Django.

In development mode, Django has a development server, which is sufficient for testing purposes. Once you complete a web application and it’s ready for production, the process of setting up the application on a server might be overwhelming for some, especially if you’re doing it for the first time. This article provides a step-by-step guide on how to deploy Django-based web applications using mod_wsgi.

NodeJS web frameworks and capturing errors

via NodeJS web frameworks and capturing errors – The Raygun Blog.

So you’re just about to start your sweet new NodeJS project? Awesome! Let’s be friends. Since you’re just starting out, you probably haven’t thought about exceptions yet, have you? No worries – I won’t tell anyone. Let’s have a look at how the raygun4node module integrates with a few of the NodeJS web frameworks you’ll most likely be looking at.

A NodeJS framework that allows developers to write HTTP endpoints in a functional reactive way.

via ayasin/frhttp · GitHub.

FRHTTP is a backend web framework designed to facilitate the development of functional reactive web services/sites.

Key benefits:

eliminates callback hell
easy to reason about
easier to test (since functions can be tested in isolation)
FAR better error messages
facilitates code reuse (potentially even with your frontend)
can be used either standalone or as part of your existing Express project

Video: Quiver.JS – Rethinking Web Frameworks

The web has vastly evolved since it was first invented. However, the way we write web applications has not changed much from the way we wrote the first MVC web frameworks running on a single server. Today’s web applications run in the cloud with a myriad combination of distributed subsystems. Yet we still write web applications as a monolithic piece of software that runs the same on every server.
Quiver is a new approach to tame the modern web architecture. It learns from best practices including the Unix Philosophy, REST architecture, microservices, and combines them into an elegant component system. With Quiver, a web application is organized as a set of loosely coupled components that are connected declaratively. Quiver makes it possible to create reusable subsystems such that the same application logic can run on vastly different environments.

Soares Chen is an independent web developer from Penang, Malaysia. He work mostly on server backend using Node since 2011, and is passionate about web technologies. He currently stays in Singapore and is active in the SingaporeJS and HackerspaceSG community. Soares is the creator of Quiver, with it he has the ambition to make building web applications as easy as combining lego bricks.

JSConf.Asia is the JavaScript, web and mobile developer conference for Asia. Amara Sanctuary, Singapore – 20 + 21 November 2014.

How to Develop Quality Python Code

Click to Read

Developing in Python is very different from developing in other languages. Python is an interpreted language like Ruby or Perl, so developers are able to use read-evaluate-print loops (REPLs) to execute Python in real-time. This feature of Python means that it can be used for rapid development and prototyping because there is no build process. Python includes many functional programming tools akin to Scala or Javascript to assist with closure based script development. But Python is also a fully scalable object-oriented language, a paradigm used to build large modular software rather than to simply execute scripts, more akin to Java or C++.

Python sits in the middle of these paradigms, providing the best of many worlds. Python is used for writing quick one-off scripts, large scale web frameworks like Django, data processing with Celery, even numerical and scientific computing. Python is lightweight, is standard on many operating systems, and is effective, thereby making it the top choice for data scientists and analysts for data engineering and analytical tasks.

However, the breadth of Python means that there is no one workflow to developing with it, and certainly there is no standard IDE or environment framework to make these decisions on your behalf. Most Python educational materials focus on the scripting aspects of the language, leaving out the important details of how to construct larger projects. This post will focus on the question of how a developer interacts with Python to build larger data applications.

Video: Understanding the next-generation web framework for Node.js

An introduction to the Koa web framework for Node.js and some of the technologies behind it. Covers ES6 generators, promises and TJ Hollowaychuk’s Co library. Also demonstrates how to write your own middleware, using JSON web tokens as an example.

Django vs Flask vs Pyramid: Choosing a Python Web Framework

Click to Read

Pyramid, Django, and Flask are all excellent frameworks, and choosing just one for a project is hard. We’ll see working apps with identical functionality in all three frameworks to make comparing the three easier. Skip to Frameworks in Action for the code.