Feature #620

Client command API

Added by Davide Principi almost 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:10/28/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Sigma
Resolution: NEEDINFO:

Description

Define an API to invoke commands on the client


Related issues

Related to Nethgui - Feature #504: User redirects on client side CLOSED 09/21/2011
Related to Nethgui - Feature #498: Custom CSS and JavaScript API CLOSED 09/20/2011

Associated revisions

Revision ecd17130
Added by Davide Principi over 9 years ago

WIP: Refactored Client command API. Refs #620 - Client package

  • Dropped Client/Command subpackage
  • Renamed Nethgui_Core_View into Client package
  • Renamed Nethgui_Core_Request into Client package
  • Renamed Nethgui_Core_DialogBox into Client package
  • Renamed Nethgui_Core_ModuleSurrogate into Client package
  • Renamed Nethgui_Core_ReadonlyView into Renderer package
  • ViewInterface: added getCommandFactory() operation
  • Widget/Abstract: added Command handler
  • Renderer/Json: added Command marshalling

Revision 56b1069f
Added by Davide Principi over 9 years ago

All tests green. Refs #620 - Client package

Revision f7eeff21
Added by Davide Principi over 9 years ago

WIP: Applied Command pattern. Refs #620 - Client Package

Added new tests: All tests green.

See in Core package

  • CommandInterface
  • CommandReceiverInterface
  • CommandReceiverAggregateInterface
  • Dropped CommandFactory
  • Nethgui_Renderer_HttpCommandReceiver HTTP command equivalence layer

Revision 3a710493
Added by Davide Principi over 9 years ago

WIP. Missing HttpCommandReceiver file.. - Refs #620

Revision 0c280748
Added by Davide Principi over 9 years ago

ViewInterface: added resolvePath() method. Refs #620 - Client package

Changed operations:
  • getUniqueId()
  • getModuleUrl()
  • resolvePath()
Affected packages:
  • Widget
  • Client
  • Renderer
  • Module

Revision 3735216a
Added by Davide Principi over 9 years ago

Fixed activateAction command on Renderer. Refs #620 - Client package.

Revision ab75671a
Added by Davide Principi over 9 years ago

Updated Tests for delayed commands. Refs #620 - Client package

Revision 03d3f00f
Added by Davide Principi over 9 years ago

Widget package: Only one receiver is now allowed for a widget. Refs #620 - Client command API

Revision 69cffadd
Added by Davide Principi over 9 years ago

Commands: fixed command receiver chains. Refs #620 - Client command API

Commands are now dispatched through a builtin target: COMMANDS

Revision cff50e7a
Added by Davide Principi over 9 years ago

Controller: applied UNOBSTRUSIVE flag rendering to Tabs and Table controller. Refs #620 - Client command API.

Revision 57e144d2
Added by Davide Principi over 9 years ago

Added requireFlag(), rejectFlag() commands to set the sub-view wrapping styles. Refs #620 - Client command API

Revision f71603c9
Added by Davide Principi over 9 years ago

Fixed Controller nesting: added default Action container. Refs #620 - Client command API

Revision 91c0c47c
Added by Davide Principi over 9 years ago

Added setTemplateDecorator command on Main module. Refs #620.

Refactored Help Module

Revision a3f2a615
Added by Davide Principi over 9 years ago

Sending cache headers for dynamically created file resources. Refs #620 - Client command API

This affects:
- Help
- Resource

Revision 17296c97
Added by Davide Principi over 9 years ago

Refactored the command API: method Refs #620 - Client command API

- removed getCommandListFor()
- hasCommandListFor() was renamed hasCommandList()

Revision 531c9595
Added by Davide Principi over 9 years ago

New command package. Refs #620 - Client command API

History

#1 Updated by Davide Principi over 9 years ago

  • Status changed from NEW to ON_DEV
  • % Done changed from 0 to 80

#2 Updated by Davide Principi over 9 years ago

  • Subject changed from Client package to Client command API

#3 Updated by Davide Principi over 9 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 80 to 100

Also available in: Atom PDF