Tagged: quick tips

netbeans-logo 0

Netbeans 7.1, diff integrata nell’editor

Una sciocchezza, davvero, ma una di quelle piacevoli sorprese che fanno cominciare un po’ meglio la giornata. Avendo installato netbeans per PHP 7.1, e riaprendo un progetto attivo, mi sono ritrovato con delle nuove striscioline colorate sui lati dell’editor.. Che sono? Un semplice mouseover da la risposta: segnalazioni delle modifiche dall’ultima versione. Insomma, la funzione diff integrata nell’editor. In più,...

nettuts intro to bookmarklets 2

Bookmarklets for everyone

Ah, those nice javascript snippets that let some external site interact with our applications. Being a bridge for complex features or some simple functions, i was surprised how easy it is to make one. I am almost always looking for new ways to give admins and writers easier and faster way to do their job, and give common users a...

Something I should have known about Security->disabledFields 0

Something I should have known about Security->disabledFields

Altering values of hidden fields, and dinamically altering forms (adding / changing / removing fields) using javascript and ajax, is a common task in today’s web development. Cakephp’s Security component is evry useful for protecting our applications from some Cross Site Request Forgery – amd stopping malicious users froma altering our forms fields and hidden values. If the fields or...

autocomplete 6

Cakephp, code insight anche nelle viste in zend studio e altre IDE

Il contesto Una buona IDE è molto utile. Tra le varie preziose funzioni, apprezzo alquanto i suggerimenti nella scrittura del codice: con framework ampi come cakephp, ed usando codice di terze parti, il suggerimento di funzioni, metodi, proprietà, chiamate statiche, è estremamente comodo e fa risparmiare un sacco di tempo. Il problema è che con framework complessi come cake, non...

Wasn’t it obvious? 0

Wasn’t it obvious?

No. Not at first glance – not for me at least. What am I talking about? Of one of those ahah! moments – after minutes of cursing against the unknown. Context: a cakephp application prototype. Test on production, with debug = 0. It’s all ok and then.. I try to edit a record of some support model (something very simple,...

cake bake model 0

A couple of cakephp newbie mistakes – Or why you always should RTFM and not always trust it

Here are two quick tips. It’ s something that made me waste some time – but an useful experience. Why it’s always wise to Read The F*****g Manual Convention over configuration is a great thing – one of the strong points behind cake’s success. It’s so natural – it almost makes you feel you can code by guessing.. or avoid...