Sha256: bb7f5416f9553f5362bd3a439621b997ccd92dca4a4b98b36efe1f619595eca1

Contents?: true

Size: 965 Bytes

Versions: 2

Compression:

Stored size: 965 Bytes

Contents

Make plugin-wide javascripts and stylesheets load automatically.
Caching - investigate reusing (fragment?) caching of Rails.
Use Ext.Direct in the Netzke controller.
Let specify per API point if it will use a GET or a POST request.
Re-work generators

Some day
* make gzipping generated JS code possible


= Ideas that didn't work out

== Making value from super-class accessible in the block parameters in endpoints, e.g.:

    endpoint :call_server do |params, orig|
      orig.merge(:set_title => orig[:set_title] + " extended")
    end

Bad idea because calling the super method is often required AFTER doing something in the override, not BEFORE. For example, deliver_component in GridPanel in Basepack is overridden to reconfigure the components on the fly before actually delivering the component (i.e. calling super).
So, to override an endpoint, simply define a method with endpoint's name, e.g.:

    def call_server(params)
      super.merge(...)
    end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netzke-core-0.6.4 TODO
netzke-core-0.6.3 TODO