background preloader


Facebook Twitter

GitHub - palanik/CorsSlim: CORS Middleware for PHP Slim Framework. Jspdf - Generate pdf from HTML in div using Javascript. Exporting PDF with jspdf not rendering CSS. Background color when using addHTML · Issue #247 · MrRio/jsPDF. Reveal.js – The HTML Presentation Framework. Angular-ui/ui-select: AngularJS-native version of Select2 and Selectize. Mettre en place un projet AngularJS avec Browserify. Dans cet article, nous allons créer une petite application AngularJS à l’aide de Browserify qui va permettre de modulariser facilement notre code et donner accès aux nombreux paquets npm dans notre navigateur.

Mettre en place un projet AngularJS avec Browserify

Browserify all the things Browserify est un outil qui permet de gérer vos dépendances JavaScript à la manière du require('dependency') de Node qui fonctionne en chargeant le module demandé via un fichier éponyme ayant une extension .js / .json / .node. À l’aide de Browserify, nous allons amener ce comportement dans notre navigateur et pouvoir utiliser à la fois des paquets npm et nos propres modules dans notre application AngularJS. Pour installer Browserify, rien de plus simple : Minify and Compress CSS. Minifying CSS takes the beautified, well formed CSS code that you have written and removes the spacing, indentation, newlines, and comments.

Minify and Compress CSS

These elements are not required for CSS to be used successfully. It also makes the CSS more difficult to read. Free Javascript Obfuscator - Protects JavaScript code from stealing and shrinks size. GitHub - angular-ui/ui-select: AngularJS-native version of Select2 and Selectize. Offline Data in the Browser - Levvel. In the past, most web applications read and wrote all data directly to the server.

Offline Data in the Browser - Levvel

The client’s job was simply to fetch and display or capture and send data. That setup was easy for everyone to understand and JavaScript applications on the browser could remain blissfully ignorant of the data complexities happening on the server. The rise of HTML5 and client side frameworks like Backbone, Angular, Ember and React have changed all that. Now client side applications have their own rich model layers and MVC structures.

These tools are incredibly powerful and allow us front end developers to build logic on the client that has long been the domain of back end developers. Abdu Sekalala, Uganda’s Top Mobile App Developer Who Has Struck Gold - Programming. Abdu Sekalala walks into the Computer laboratory where I am waiting for him to do this interview like he has struck Gold indeed.

Abdu Sekalala, Uganda’s Top Mobile App Developer Who Has Struck Gold - Programming

Aside from the fact that he has a sort of shyness about him, don’t be fooled because when he starts to talk technology, his worth is indeed Gold. Sekalala, a 22 year old student at the School of Computing and Information Technology, Makerere University has a portfolio of 9 internationally rated mobile phone apps or applications under his arm and is raking in thousands of dollars per month as more users download the apps.

Abdu sekalala Makerere University, the region’s oldest and once most respected institution has for a while not been in the news for its research or teaching programs. Rather it has been strikes over pay to lecturers and Professors, political activism and the like, but Sekalala’s story is a fantastic Public Relations opportunity the university needs to take advantage of. He actually appears shy. What does the Uganda app do? Any money invested? [Résolu] Problème d'encodage avec json_encode et AJAX en UTF-8. Protéger un dossier avec un .htaccess. An introduction to LokiJS: the idiomatic way.

Enter Loki LokiJS is a fast in-memory datastore written in JavaScript, which prioritises performance and a small footprint over everything else.

An introduction to LokiJS: the idiomatic way

This introduction is aimed at making the best usage of the library for those who are already familiar with it. You can probably follow it even if you’re not familiar with LokiJS, but for a more basic tutorial and overview of LokiJS feel free to head over to or the github page for the code itself. If you are very familiar with LokiJS, you may well skip on to the Resultset and Branching section below. Select - Materialize datepicker SelectOnClose not working. Date picker – pickadate.js. Display a human-friendly format and use an alternate one to submit to the server.

Date picker – pickadate.js

This is done by creating a new hidden input element with the same name attribute as the original with an optional prefix/suffix: Send the hidden value only§ A majority of the time, the value that needs to be sent to the server is just the hidden value – and not the visible one. To make this happen, use the hiddenName option. This essentially nullifies the hiddenPrefix and hiddenSuffix, strips the name attribute from the source input, and then sets it as the name of the hidden input: Brancher et fusionner : les bases. Suivons un exemple simple de branche et fusion dans une utilisation que vous feriez dans le monde réel.

Brancher et fusionner : les bases

Vous feriez les étapes suivantes : travailler sur un site web ;créer une branche pour un nouvel article sur lequel vous souhaiteriez travailler ;réaliser quelques tâches sur cette branche. À cette étape, vous recevez un appel pour vous dire qu'un problème critique a été découvert et qu'il faut le régler au plus tôt. Vous feriez ce qui suit : Thinkster.

PHP Authorization with JWT (JSON Web Tokens) If you like computer security topics, you will know that one of the most discussed and controversial topics is user authentication.

PHP Authorization with JWT (JSON Web Tokens)

Within its context, you will find a broad range of study areas, from new mechanisms to usability. It is, thus, to my surprise that JSON Web Tokens is a topic not often talked about, and I think it deserves to be in the spotlight today. We will see how easy it is to integrate it in an API authentication mechanism. Versus Sessions.

Get started - Slim Framework v2. Grunt-electron-windows-installer. Create a Windows package for your Electron app.


Create a Windows package for your Electron app. Getting Started This plugin requires Grunt ~0.4.0. Creating a Windows Distribution of an Electron App using Squirrel. When you’re ready to distribute your Electron based application to the millions of people waiting to get a hold of your creation, you’re going to need a way to package your app and make it available to them with a nice easy installer.

Creating a Windows Distribution of an Electron App using Squirrel

You could take a look at Wix or other installers, but the standard for Electron based apps has quickly become Squirrel. Visual Studio Code and the Slack client are a couple of high profile apps that use this framework to perform installs and updates. In this post I’ll walk you through creating a basic Windows distribution of an Electron based app. Setting the Stage. Packaging and Distributing Electron Desktop Apps. Maxogden/electron-packager. Szwacz/electron-boilerplate. Jointure en mongodb [Symfony 2] MongoDB for GIANT Ideas. Uncaught Error: Cannot find module 'jquery' Tutoriel AngularJS. Automate Your Tasks Easily with Gulp.js. As developers we often need to look at the tools we use and decide if we are using the right tool for the job.

Chris did an awesome write up on Grunt early last year. But maybe Grunt just isn’t right for you. Single Page Apps with AngularJS Routing and Templating. Overview Single page apps are becoming increasingly popular. Sites that mimic the single page app behavior are able to provide the feel of a phone/tablet application. Angular helps to create applications like this easily. Our Simple App. Automate Your Tasks Easily with Gulp.js. LokiJS: une base de données NoSQL pour vos applications Cordova - Mobile-tuts. NoSQL : 5 minutes pour comprendre. NoSQL signifie “Not Only SQL”, littéralement “pas seulement SQL”. Ce terme désigne l’ensemble des bases de données qui s’opposent à la notion relationnelle des SGBDR. La définition, “pas seulement SQL”, apporte un début de réponse à la question “Est ce que le NoSQL va tuer les bases relationnelles?”.

En effet, NoSQL ne vient pas remplacer les BD relationnelles mais proposer une alternative ou compléter les fonctionnalités des SGBDR pour donner des solutions plus intéressantes dans certains contextes. Mais pourquoi le NoSQL ? La directive ng-repeat - Cet article fait suite à l’article sur les directives, cela dit il est tout à fait possible de se servir de ng-repeat sans comprendre le fonctionnement des directives. ng-repeat est avec ng-show et ng-hide l’une des directives les plus utilisées.

Build a RESTful API Using Node and Express 4. # Express Router and Routes We will use an instance of the Express Router to handle all of our routes. Here is an overview of the routes we will require, what they will do, and the HTTP Verb used to access it. This will cover the basic routes needed for an API. This also keeps to a good format where we have kept the actions we need to execute (GET, POST, PUT, and DELETE) as HTTP verbs. # Route Middleware We’ve already defined our first route and seen it in action. RESTful API User Authentication with Node.js and AngularJS. In this second part of our User Authentication series I will show you how to hook up a frontend to our REST API backend.

We will craft a little Ionic app with AngularJS, but the code and concept is almost the same for a pure AngularJS webapp. If you came directly to this post, make sure to follow the first step or have some kind of backend already in place! RESTful API User Authentication with Node.js and AngularJS – Part 1/2: Server This part will cover a lot of code including HTML templates, so if you want it the lazy way grab your code below, but make sure to follow the article to understand what we do! Creating the basic app. How To Handle User Authentication With AngularJS. RESTful API User Authentication with Node.js and AngularJS. My all time most viewed article is How To Handle User Authentication With AngularJS Inside Your Ionic App, and it’s also the one with the most questions.

User authentication is one of the features almost every app(web and mobile) needs today. Creating Desktop Applications With AngularJS and GitHub Electron. GitHub’s Electron framework (formerly known as Atom Shell) lets you write cross platform desktop application using HTML, CSS and JavaScript. It’s a variant of io.js run-time which is focused on desktop applications instead of web servers. Electron’s rich native APIs enables us to access native things directly from our pages with JavaScript. This tutorial shows us how to build a desktop application with Angular and Electron. The steps for this tutorial are as follows:

Building Cross-platform Desktop Apps with Electron. Earlier this year, Github released Atom-Shell, the core of its famous open-source editor Atom, and renamed it to Electron for the special occasion. Electron, unlike other competitors in the category of Node.js-based desktop applications, brings its own twist to this already well-established market by combining the power of Node.js (io.js until recent releases) with the Chromium Engine to bring us the best of both server and client-side JavaScript. Imagine a world where we could build performant, data-driven, cross-platform desktop applications powered by not only the ever-growing repository of NPM modules, but also the entire Bower registry to fulfill all our client-side needs. Enter Electron.