Pages related to the keyword: news

DKIM email signature and CakePHP 24/04/2014

Sending email from your server is very easy. Sending email that actually arrive in your recipient's mailbox is much harder because email providers like Gmail are sometimes overzealous in their fight against SPAM. In order to have a chance to pass their tests, you have many things to set up like SPF record and DKIM signature.

I will not cover here how to sign your outgoing email with DKIM. Two very clear and helpful examples are available for Ubuntu servers: DKIM with Postfix for Ubuntu or Postifx/DKIM.

Read more...
This page belongs to the following categories: news , CakePHP

Our website design has been entirely copied ! 01/10/2013

This afternoon, I was checking the Google Analytics of our company's website and specifically for our traffic sources. I found out 2 new reffering sites "csswinner.com" and "cssdesignawards.com". Intrigued, because those are websites I have never visited, I went to see who had gently decided to advertise our website for its (nice) design. Finally I found out one of the original reffering page : http://www.csswinner.com/details/rohit-kumars-portfolio/302/ . I'm a bit puzzled, our site is nowhere to be found on the page, just some randome dude portfolio...

Read more...
This page belongs to the following categories: news

Bootstrap 3 Helper for CakePHP 2.x 25/09/2013

The new version of the Helper that allows to automatically make your forms Bootstrap compatible has been updated for Bootstrap 3 : find sources on Github.

The Helper for Bootstrap 2.3 is still available.

Read more...
This page belongs to the following categories: news , CakePHP , Code

Petit Four version 1.2.1 released 20/09/2013

This is a small release, with a few bug fixes :

  • Small bugs fixed in the cake baking templates, standard and reduced
  • Added Type TIMESTAMP in the DATE and TIME category in order to be able to use the CURRENT_TIMESTAMP default

Read more...
This page belongs to the following categories: news , CakePHP

Controllers baking templates update 19/09/2013

The default template used for baking controller files has been updated according to CakePHP 2.4.0 :

Concerning the reduced template ("Minimize amount of code" option), the delete function was already simplified !

Read more...
This page belongs to the following categories: news , CakePHP

Managing accents in text searches 21/07/2013

A good search engine must be flexible since words searched by a user may be present in database, but in a different shape. The most obvious example is the presence of uppercase letters in the text: if a sentence begins with "Tomorrow, ...", this word must be recognized by the search engine even if the user has typed "tomorrow" or "TOMORROW".

Many written languages use special characters (accentuated or other) that cause the same issue: the same word can be written in different shapes depending on the presence or absence of those characters (especially because of uppercase letters, which are often unaccentuated). The french word "sérénité", if it appears in a title, may be written in the shape "SERENITE". The engine must not only ignore the case but also the accents.

Read more...
This page belongs to the following categories: news , CakePHP , Code , Plugin , Accents

Document Manager Plugin for CakePHP 2.x 18/07/2013

The Document Manager plugin provides an out of the box simple file management interface for any CakePHP 2.x application.

You define a base directory inside the webroot folder for your arborescence and inside you can create folders, upload/rename/delete files, browse them, obtain the absolute URL of any file in order to be able to link to it. Uploaded files informations are stored inside a Document table which allows to easily access them in your application. 

Moreover it can be hooked to an user management system to manage ownership of files and prevent files edition or deletion by other users. If you do not have an user management system, you can easily disable file ownership management to have an open system.

It requires jQuery to perform.

Read more...
This page belongs to the following categories: news , CakePHP , Code , Plugin

New baking option 29/05/2013

Petit Four has been upgraded with a new baking option for your CakePHP projects, that can be used by checking "minimize amount of code" on your online CakePHP bake page. The modifications in the baked code are the following : 

  • Models' validations are generated inside the beforeValidate() function in order to be able to translate validation messages
  • Models' validations and associations are generated with the minimal amount of keys, CakePHP standards do the rest of the magic
  • The function add() has been removed from controllers and the corresponding views are also removed. The reason behind this choice is that Controller actions and Views for add() and edit() are so similar that in our opinion it goes against the DRY rule. Use '/controller_name/edit' without providing any id to create a new entry. The code of the edit() function has been updated to allow this use.
  • Strings inside gettext functions are put inside double quotes (it allows to use single brackets inside, hello french users!)

Read more...
This page belongs to the following categories: news , CakePHP

Petit four 1.2.0 available 27/05/2013

The online CakePHP baking tool Petit Four 1.2.0 has been released:

  • You can now load a SQL file corresponding to the Database of an existing CakePHP application in order to directly import your models, fields and relations into a project on the site. Relations following the naming convention of CakePHP are automatically detected, but you still have to validate them and choose the inverse cardinality (hasMany or hasOne) of belongsTo relations.

Don't forget to register in order to benefit from all the functionalities of la pâtisserie

Read more...
This page belongs to the following categories: news , CakePHP

Remove Word formatting in a Rich Text Editor using JavaScript 29/04/2013

Most CMS have a built-in WYSISYG editor allowing to edit formatted text. They have advantages but also some flaws. One of the recurring problem is to handle formatted text imported from Word or OpenOffice, because they create horrible HTML code that is most of the time undesirable and will screw your CSS. Some editors allow to import non formatted text, but sometimes you also want to manage the text formatting yourself.

If you develop an editor or want to adapt one, it can be helpful to handle the text formatting.

Read more...
This page belongs to the following categories: news , Code , JavaScript
5105
Petits fours baked