Wednesday, November 14, 2012

Extjs MVC. Multiple instances of views

If you find yourself thinking:

  1. Is there a way to use multiple instances of views in extjs
  2. I've created app that uses two instances of the same view in it. There are two controllers (each controller controls corresponding instance of view). When one of the instances fires event handlers in both controllers are called.
  3. How to manage two instances of the same view to have different stores
then you are in right place.

Saturday, November 10, 2012

Managing js vendors and symfony 2.1.x

In my preveous post I've described how to manage js vendors in symfony2. However that solution is only applicable for version 2.0.x of symfony. In this post I'll describe how to manage js vendors in 2.1.x.

The idea is the same: load js vendors via symfony's standard mechanism (composer). But load into the folder under web directory.

Symfony2 and js vendors

How to deal with vendor javascripts in symfony2?
Moreover, how to make installing/updating js vendor as easy as possible?