Sha256: d1ad886827c2e68f27eb21752d15e9e9e4bdfa177a5b749ee3f3fcb4706eddda

Contents?: true

Size: 967 Bytes

Versions: 3

Compression:

Stored size: 967 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

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.6.2 TODO
netzke-core-0.6.1 TODO
netzke-core-0.6.0 TODO