Feb
1
Non linear management – fostering creativity / design driven development
Filed Under Management, business | Leave a Comment
Please read the first post on the subject of non linear management before continuing.
Level 2 of this journey starts with learning how to setup an environment that would catalyze creativity. In other words, we’re going to talk about design driven development and most importantly, how to actually implement it in a corporate environment.
There has been a lot of hype these past days about the launch of iPad and Apple’s decisions on this product. Whether or not this will be a successful device, it remains to be seen. However, the whole process of getting it to the market is really appealing. They are and have always been trend setters, and that is the basic, most important feature of design driven development. The idea behind it is very simple. Don’t use the old way, of market driven development, in which each new product or feature is a direct response of market needs. Instead, get a team of experts, create a community of requirements gathering – whether a closed or open one, whether a linear of hierarchical one, and use that to TELL your future customers what they want, give them what YOU think they need. It’s like going to a hotel and finding a free bottle of water on the table each day. You would never think to ask for/wish something like this, but if it’s there, your reaction towards that hotel is definitely more positive. Thus, you are in the avant-garde of creation, of satisfying your customers, and last but not least, of CREATING NEW NEEDS.
Jan
21
Nonlinear management: creative thinking
Filed Under Management, business | 1 Comment
It’s times like these that should make people realize the importance of adaptability. But as I experience the stubbornness in keeping a dissipated conservative view on problems by most managers, I’m hoping to share some more light on what the vanguard of management is.
Firs topic, creative thinking. This concept has been around for a while, but has yet to be adopted on large scale. One could start wondering why is that? - why would people not see that getting the knowledge on how to come up with great ideas is equally, if not more important than building a business around them? Creative thinking is a bit of an abstract term. In business in general, in management in particular, it refers to the set of skills required to gain a holistic view of a problem. To do that, one must train his mind on several levels. Each level is hierarchically more important and as you reach the top, you are able to see at 360 degrees. But unlike in a forest, where you have to get to the top of the highest tree to get an overview of your situation, creative thinking is more of a pyramid, in which as you construct towards the top, you gain height and more overview based on what you’ve constructed underneath.
Read more
Oct
2
When Doctrine leftJoin fails
Filed Under PHP, Symfony | Leave a Comment
I’ve stumbled across a weired problem in Symfony, using Doctrine. Whenever I wanted to use a leftJoin, stuff would fail. So, here are some tips to help you pass this problems:
1. Check that the leftJoin is issued like $q->(a.RelationshipName r);
where “a” is the root alias of the query, RelationshipName is the NAME of the relationship defined in the yaml file of the database.
2. Make sure you use the actual relationship name from the yaml DB schema, and not the class name or something else. For instance, let’s say you have 2 classes: MysiteArticle and MysiteCategory. To fetch articles, you would build your query like: Doctrine_Query::create()->from(’MysiteArticle a’);
But, to fetch articles together with the category, you would do something like:
Doctrine_Query::create()->from(’MysiteArticle a’)->leftJoin(’a.Category c’); if your relationship name is “Category”, in the schema.yml, or Doctrine_Query::create()->from(’MysiteArticle a’)->leftJoin(’a.MysiteCategory c’); if your relationship name is MysiteCategory.
Dec
18
Getting the cursor position inside a text-field and smart ways to build form validators
Filed Under JavaScript, Uncategorized | 1 Comment
I have always wanted a nice clean way to build form validators based on any kind of rule i would choose, however most of the times I stumbled upon a simple problem: How to get the cursor position inside a text-field? It’s easy in Mozilla, but what about IE?
The challenge was weird, but I finally got a way around, starting an idea here.
What I’ve done is I used Prototype to extend the Form Element Methods and simply add a version of selectionStart and selectionEnd for IE. After that, I just put them to work in a nice input wrapper class.
Read more
Dec
18
Quick quide to regular expressions in JavaScript
1. The form of an expression:
var a = /dog/gim
//dog = the expression to match, g = search all matches, i = case insensitive, m=multiple line
The cool thing is that /dog/ is an object, so you can, for example, do something like /dog/.test(something)
Read more