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. The HTML Presentation Framework Hello There reveal.js enables you to create beautiful interactive slide decks using HTML.

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. 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. The 'best practice' of many developers is to maintain a 'beautified' version, and when rolling out their project will run the styles through a minification program. 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.

Before moving onto the actual introduction, a quick clarification on why we claim that LokiJS is “fast” (you can read a full article here). LokiJS data collections maintain an index which allows find operations to achieve extremely fast performance, thanks to the fact that indexes are sorted and search is performed through the fastest search algorithm for sorted arrays, the Binary Search Algorithm. “Loki’s Way”: DynamicView > 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§ Brancher et fusionner : les bases. 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 There was a time when the only way to authenticate yourself into an application was by giving out credentials. 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. 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.

Automate Your Tasks Easily with Gulp.js

Chris did an awesome write up on Grunt early last year. But maybe Grunt just isn’t right for you. Gulp is a streaming build system, by using node’s streams file manipulation is all done in memory, and a file isn’t written until you tell it to do so. 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. LokiJS est une base de données JavaScript lègère in-memory qui fournit une alternative orientée document à SQLite déjà bien connu des développeurs mobiles. Pour de nombreuses applications, une approche NoSQL est souvent préférable aux données relationnelle, surtout lorsqu'il s'agit de traiter de grandes quantités de données complexes.

LokiJS est destiné à être utilisé comme une base de données in-memoiry avec la possibilité de faire de la persistance de données. Il est compatible avec Node.js et les navigateurs, ce qui signifie qu'il peut être donc être utilisé au sein d'une application hybride, développé sous Cordova par exemple. Installation Plusieurs possibilités dont npm (NodeJS) ou bower npm install lokijs Ou bower install lokijs Comment ça marche ?

LokiJS supporte également l'indexation de champs, ce qui accélère encore un peu plus la recherche de données et donc les performances de votre application. 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.

La directive ng-repeat - 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. 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. 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. In this series I will show you my best practice for creating a RESTful API with user authentication. We will craft a little Node.js server which will allow us to sign up, authenticate and afterwards take request for protected endpoints. 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: Create a simple Electron applicationUse Visual Studio Code Editor to manage our project and tasksIntegrate an Angular Customer Manager App with ElectronUse Gulp tasks to build our application and create installers.

Building Cross-platform Desktop Apps with Electron.