Web

KeyEditableTable: Mixing DataTables, KeyTables and jEditable all together

Linked projects: 

Problem description

Now that Web 2.0 is here, everybody enjoys to metamorphose his web browser into a
rich, very rich, client application, like a real desktop application.

Thats not always a good idea... Web has to be kept simple.

Nevertheless, Google and Yahoo have proved many times that is possible.

Since Google doc has been released, everybody wants to be able to manage HTML
tables as OpenOffice or Excel spreadsheets do.

Tags:

Webservers flooding minitage

Now, nginx and apache are packaged inside minitage.

 

You have :

  • two templates initiating instance of both webservers in minitage.paste.extras
  • the related packages to be build via minitage (nginx-0.8, apache-2.2)

 

Enjoy running:

easy_install -U minitage.paste
paster create -t minitage.instances.nginx myproject #deploy some nginx instance (init scripts, logrotates, docroot)
paster create -t minitage.instances.apacher myproject #deploy some nginx instance (init scripts, logrotates, docroot)
Tags:

Personal reminder about Drupal's settings.php

Because I often duplicate a production site on a local machine in order to do some debugging/bugfixes, I like everything to be ready the sooner as possible without having to do a lot of clicks.

Here is how I override values in my custom settings.php file instead of loosing time clicking into the administration pages or even doing configuration alteration with Drush.

Here is a common production site settings.php $conf variable alteration :

Tags:

More on Static file redirector

So On a previous blog entry http://www.makina-corpus.org/blog/use-rewritemap-prevent-proxying-some-s... I presented the base for a rewriteRule settings to serve some targeted plone static files directly from apache and without proxying to Plone. No let's make this solution even better.
* use a hash map for url mappings
* create a virtual /static url and apply some cache managment rules on his contents
* allow the use of the /satic/ url directly
* ensure only mapped static files are served via this static directory

Tags:

Use RewriteMap to prevent proxying for some static contents

Let's say we would like to prevent an application server to serve static content. And let's take a complex example, Plone. Plone is a Zope based application server and is not using a clean url-map for static contents. We'll take plone as an example but it's not the only app which is not handling static files outside general uri-application-mapping.

Tags:

Grok 1.0 released

L'équipe de développement "Grok" vient tout juste de publier Grok 1.0 ! Grok 1.0 est l'aboutissement de 3 années de travail depuis le démarrage du projet fin 2006. Grok offre une plateforme de développement stable et puissante permettant de développer toutes sortes d'applications web en mettant l'accent sur l'extensibilité et la réutilisabilité.
[Ce post est une traduction partielle et adaptée de l'annonce officielle de la publication de Grok 1.0]

Tags:

Import data massively in Plone using Talend + csvreplicata

Linked projects: 

Typical use case: you need to migrate an existing web site to Plone and this web site is using a relational database to store its content.

Talend ( http://www.talend.com ) is a well-known opensource ETL able to read, convert and store data from/to almost any format. Unfortunately, it cannot access a ZODB.

Csvreplicata ( http://www.makina-corpus.org/project/csvreplicata and http://plone.org/products/csvreplicata ) is a Plone product able to import/export any Plone archetypes-based contents (including folder/sub-folder structures).

Tags:

How to install Oracle 10g (Full 64 bits version, not XE) and Tora on GNU Linux Ubuntu Karmic 9.10 (64 bits version)

Linked projects: 

Why installing Oracle 64 bits

Ubuntu provides a nice and easy tutorial for installing Oracle 10 XE on 32 bits systems, thats works also on 64bits sytems, but:

  • This is for Oracle XE, non standard or enterprise edition
  • Database is limited to 5 simultaneous connections
  • Default Tora 64 bits won't work on 64 bits systems with the Oralce XE 32 bits editions
  • Oracle XE is limited in functionalities, url_quote, for example, is not provided with this distribution
Tags:

Cherokee, to deploy and serve faster

I’ve been deploying a new Django application at work with Apache and mod_wsgi (it’s now the recommended way, instead of mod_python) but that still painful and slow to serve static content.
proud

Relative/Absolute URL and Proxies

If you develop a web application you'll come soon at the moment of building your URLs.

Tags: