On Wednesday, May 16, 2012, Bart van den Eijnden wrote:

> Found out that this is not the only issue with sharing code from the data
> package between Sencha Touch and ExtJS 4.
>
> ProtocolProxy inherits from src/data/proxy/Server.js and in Ext JS 4 we
> have something like:
>
>                 operation.commitRecords(result.records);
>                 operation.setCompleted();
>                 operation.setSuccessful();
>
> whereas in Sencha Touch this reads (so there is no commitRecords function
> etc. on operation):
>
>             if (operation.process(action, resultSet, request, response)
> === false) {
>                 this.fireEvent('exception', this, response, operation);
>             }
>
> Should we try and make our data package work with both, or should we give
> up altogether on sharing code?
>
> Thoughts?
>


It seems to me there's so little to share that it's not worth the effort.
And it'd make the code harder to understand and maintain.

>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to