| by jpic | python javascript
Python overtakes JavaScript as most questioned language


| by jpic | django javascript python django-webpack-loader code splitting support by @alihazemfarouk, that has a sister pull request.


| by jpic | python django javascript react djnext best-practice Django-NextJS Isomorphic UI Development with Decorator pattern for Django with: - nextjs out of the box experience for frontend development, - rendering of nextjs pages with context in Django with NextJS template engine. For fun & profit ## Run the example project Run this commands as non root:: git clone cd djnext pip install –user –editable .[dev] yarn install djnext watchstatic # maintains nextjs pages/ directory for yarn dev yarn dev # run localhost:3000 djnext dev # run localhost:8000 ## Choose NextJS page template in Django Example project lives in src/djnext_example, see src/djnext_example/artist/urls. Read More


| by jpic | python django javascript react best-practice Beautiful example of Django/React integration !


| by jpic | javascript best-practice Example:


| by jpic | python django javascript best-practice Django isomorphic research !

JS TDD in your Django apps

| by jpic | javascript best-practice
Yesterday, I confessed my guilt of writing shitty DOM manipulating JS code live in the browser, and said no, never again. Due to positive feedback in the django-users mailing list, I'm writing how I actually plan to change how I do JS in Django apps. Believe me, it's preventively fixing issues i've had with JS in Django apps during the last ten years. Nuff said, let's hack ! Let's create an index. Read More


| by jpic | python javascript isomorphic turbogears Great one <3


| by jpic | python django-dynamic-fields best-practice javascript
Victory on JavaScript, let's build another Django on top of Django :) With LOVE

Navigation Autocomplete with jquery-autocomplete-light

| by jpic | python javascript jquery-autocomplete-light
“How to make a navigation autocomplete with django-autocomplete-light v3” seems like a top FAQ since v3 release, because v2 included an example which was not reported inside the documentation of v3. While the example in v2 documentation is still valid, the autocomplete.js script was removed from django-autocomplete-light, and is now available in the jquery-autocomplete-light repository. Happy hollidays from the YourLabs panarchy :)

dropzone.js: nice jQuery plugin for file uploads

| by jpic | javascript jquery
dropzone.js is an open source library that provides drag'n'drop file uploads with image previews

Lightweight jQuery plugin to drag'n'drop <table> columns

| by jpic | javascript jquery
This plugin allows to drag'n'drop HTML table columns. It is rather light and consistent with usual jQuery plugin and javascript patterns. This script doesn't assume that it is smarter than you are. All it does is enabling clean column drag'n'drop, and triggers an event on drop. You should implement the persistence you want by binding that event to your own function. Nuff said, here it is.

Alertify.js: better js prompt(), alert() and confirm()

| by jpic | javascript jquery
It's time to replace calls to prompt(), alert() and confirm() in your javascript with this awesome plugin by Fabien Doiron.

Howto: javascript popup form returning value for select like Django admin for foreign keys

| by jpic | php django javascript
This article presents a technique to get the return value of a form opened in a javascript popup, like Django admin for foreign keys. It can be used to improve the ergonomy relation select inputs. Introduction When a form allows to create or edit data, many to one (n:1) relations choices are often presented in a select input. For example, Django admin uses a select field by default for foreign keys. Read More
1 of 2 Next Page