You also know about the <action> and <state> pragma’s as well right? They were explained in the Esug session, and show up in the Counter code.
Tim On 2 Sep 2014, at 18:03, Bernat Romagosa <tibabenfortlapala...@gmail.com> wrote: > Thanks Tim, I'll take a look at it. Unfortunately I couldn't attend this year > :( > > In the meantime I've just found out where the counter entry point is defined: > > TDDispatcher >> setupDefault > default := self new. > default > registerHandler: ((TDFileHandler path: 'tide') > directoryPath: '.'; > yourself); > registerHandler: ((TDPresenterHandler path: 'counter') > rootPresenterClass: TDCounter; > yourself) > > Nice! > > > 2014-09-02 18:57 GMT+02:00 Tim Mackinnon <tim@testit.works>: > You can try watching the ESUG video from this year on: http://goo.gl/E1VF53 > > The presentation that Esteban gave was great - and it also inspired me to > look at this some more too. > > Tim > > On 2 Sep 2014, at 17:46, Bernat Romagosa <tibabenfortlapala...@gmail.com> > wrote: > >> Hey, it looks really nice. Is there any documentation around? Any getting >> started tutorial or bigger project I can take a look at? >> >> I don't exactly get how proxying works. I inspected the TDCounter instance >> in Pharo and I see it's persisting its value, but I don't get how's the >> widget getting to it: >> >> TDClientProxy on: '/counter' >> >> Is '/counter' an entry point? If so, where is it defined? I can't find it >> anywhere. >> >> >> >> >> 2014-09-02 18:27 GMT+02:00 Bernat Romagosa <tibabenfortlapala...@gmail.com>: >> My bad! Forget my previous email! >> >> Sorry. >> >> >> 2014-09-02 18:16 GMT+02:00 Bernat Romagosa <tibabenfortlapala...@gmail.com>: >> >> Hola Esteban! >> >> Thanks, but it's still failing (although it progressed a little bit further): >> >> bower amber#0efe3ad09 not-cached >> git://github.com/amber-smalltalk/amber.git#0efe3ad09 >> bower amber#0efe3ad09 resolve >> git://github.com/amber-smalltalk/amber.git#0efe3ad09 >> bower amber#0efe3ad09 short-sha Consider using longer commit SHA to >> avoid conflicts >> bower amber#0efe3ad09 checkout 0efe3ad09 >> bower amber#0efe3ad09 resolved >> git://github.com/amber-smalltalk/amber.git#0efe3ad09 >> bower jquery-tabby#* cached >> git://github.com/alanhogan/Tabby.git#925c5a416a >> bower jquery-tabby#* validate 925c5a416a against >> git://github.com/alanhogan/Tabby.git#* >> bower jquery#~1.10.2 cached >> git://github.com/jquery/jquery.git#1.10.2 >> bower jquery#~1.10.2 validate 1.10.2 against >> git://github.com/jquery/jquery.git#~1.10.2 >> bower showdown#~0.3.1 cached >> git://github.com/coreyti/showdown.git#0.3.1 >> bower showdown#~0.3.1 validate 0.3.1 against >> git://github.com/coreyti/showdown.git#~0.3.1 >> bower es5-shim#~3.3.0 cached >> git://github.com/es-shims/es5-shim.git#3.3.2 >> bower es5-shim#~3.3.0 validate 3.3.2 against >> git://github.com/es-shims/es5-shim.git#~3.3.0 >> bower codemirror#~3.24.0 cached >> git://github.com/marijnh/CodeMirror.git#3.24.0 >> bower codemirror#~3.24.0 validate 3.24.0 against >> git://github.com/marijnh/CodeMirror.git#~3.24.0 >> bower bootstrap#~2.3.2 cached >> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#2.3.2 >> bower bootstrap#~2.3.2 validate 2.3.2 against >> git://github.com/alonisser/bower-bootstrap-2.3.2-legacy.git#~2.3.2 >> bower jquery-ui#~1.10.3 cached >> git://github.com/components/jqueryui.git#1.10.4 >> bower jquery-ui#~1.10.3 validate 1.10.4 against >> git://github.com/components/jqueryui.git#~1.10.3 >> bower require-css#~0.1.2 cached >> git://github.com/guybedford/require-css.git#0.1.4 >> bower require-css#~0.1.2 validate 0.1.4 against >> git://github.com/guybedford/require-css.git#~0.1.2 >> bower jquery-ui#~1.10.3 new version for >> git://github.com/components/jqueryui.git#~1.10.3 >> bower jquery-ui#~1.10.3 resolve >> git://github.com/components/jqueryui.git#~1.10.3 >> bower jquery-ui#~1.10.3 download >> https://github.com/components/jqueryui/archive/1.10.4.tar.gz >> bower require-css#~0.1.2 new version for >> git://github.com/guybedford/require-css.git#~0.1.2 >> bower require-css#~0.1.2 resolve >> git://github.com/guybedford/require-css.git#~0.1.2 >> bower require-css#~0.1.2 download >> https://github.com/guybedford/require-css/archive/0.1.5.tar.gz >> bower jquery#>=1.8.0 <2.1.0 cached >> git://github.com/jquery/jquery.git#2.0.3 >> bower jquery#>=1.8.0 <2.1.0 validate 2.0.3 against >> git://github.com/jquery/jquery.git#>=1.8.0 <2.1.0 >> bower require-css#~0.1.2 extract archive.tar.gz >> bower require-css#~0.1.2 resolved >> git://github.com/guybedford/require-css.git#0.1.5 >> bower jquery-ui#~1.10.3 extract archive.tar.gz >> bower jquery-ui#~1.10.3 invalid-meta jquery-ui is missing "ignore" entry >> in bower.json >> bower jquery-ui#~1.10.3 resolved >> git://github.com/components/jqueryui.git#1.10.4 >> bower EACCES EACCES, mkdir >> '/home/nabax/myproject/github-cache/tide-framework/tide/master/tide-framework-tide-252a3d8/bower_components' >> Stack trace: >> Error: EACCES, mkdir >> '/home/nabax/myproject/github-cache/tide-framework/tide/master/tide-framework-tide-252a3d8/bower_components' >> Console trace: >> Trace >> at StandardRenderer.error >> (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:72:17) >> at Logger.<anonymous> >> (/usr/local/lib/node_modules/bower/bin/bower:110:22) >> >> at Logger.EventEmitter.emit (events.js:95:17) >> at Logger.emit >> (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39) >> at /usr/local/lib/node_modules/bower/lib/commands/index.js:40:20 >> at _rejected >> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:797:24) >> at /usr/local/lib/node_modules/bower/node_modules/q/q.js:823:30 >> at Promise.when >> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1035:31) >> at Promise.promise.promiseDispatch >> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:741:41) >> at /usr/local/lib/node_modules/bower/node_modules/q/q.js:557:44 >> System info: >> Bower version: 1.3.9 >> >> Node version: 0.10.25 >> OS: Linux 3.11.0-19-generic x64 >> >> Should I add jquery-ui to the ignore array in bower.json? >> >> >> >> 2014-09-02 17:15 GMT+02:00 Esteban Lorenzano <esteba...@gmail.com>: >> >> yeah, doc is bad… you need to install the newest bower, not the version >> specifies there. >> >> cheers, >> Esteban >> >> On 02 Sep 2014, at 17:05, Bernat Romagosa <tibabenfortlapala...@gmail.com> >> wrote: >> >>> Hi list! >>> >>> I wanted to try out Tide, and I'm following the steps at: >>> https://github.com/tide-framework/tide >>> >>> However, I can't get through the bower install step. Here's the output: >>> >>> >>> bower amber#0efe3ad09 not-cached >>> git://github.com/amber-smalltalk/amber.git#0efe3ad09 >>> bower amber#0efe3ad09 resolve >>> git://github.com/amber-smalltalk/amber.git#0efe3ad09 >>> bower amber#0efe3ad09 ENORESTARGET Tag/branch 0efe3ad09 does not exist >>> Additional error details: >>> Available tags: 0.10, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.12.3, >>> 0.12.4, 0.12.6, 0.13.0-alpha.1, 0.13.0-alpha.2, 0.9, 0.9.1, legacy, >>> legacy2, legacy3-iife >>> Available branches: 0.13-prereleases, camillo-hacks, chromeos, gh-pages, >>> master, moka, nemo, nw-helios-app, stable, website-deployment >>> >>> >>> I changed 0efe3ad09 for stable in bower.json and it failed with: >>> >>> >>> bower amber#stable not-cached >>> git://github.com/amber-smalltalk/amber.git#stable >>> bower amber#stable resolve >>> git://github.com/amber-smalltalk/amber.git#stable >>> bower amber#stable checkout stable >>> bower amber#stable error Arguments to path.join must be >>> strings >>> Stack trace: >>> TypeError: Arguments to path.join must be strings >>> at path.js:360:15 >>> at Array.filter (native) >>> at Object.exports.join (path.js:358:36) >>> at GitHubResolver.GitResolver._cleanup >>> (/usr/local/lib/node_modules/bower/lib/core/resolvers/GitResolver.js:182:26) >>> at >>> /usr/local/lib/node_modules/bower/lib/core/resolvers/GitResolver.js:74:25 >>> at Promise.apply >>> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1122:26) >>> at Promise.promise.promiseDispatch >>> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:752:41) >>> at /usr/local/lib/node_modules/bower/node_modules/q/q.js:1337:14 >>> at flush (/usr/local/lib/node_modules/bower/node_modules/q/q.js:108:17) >>> at process._tickCallback (node.js:415:13) >>> Console trace: >>> Trace >>> at StandardRenderer.error >>> (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:74:17) >>> at Logger.updateNotifier.packageName >>> (/usr/local/lib/node_modules/bower/bin/bower:109:18) >>> at Logger.EventEmitter.emit (events.js:95:17) >>> at Logger.emit >>> (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39) >>> at /usr/local/lib/node_modules/bower/lib/commands/install.js:28:16 >>> at _rejected >>> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:808:24) >>> at /usr/local/lib/node_modules/bower/node_modules/q/q.js:834:30 >>> at Promise.when >>> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1079:31) >>> at Promise.promise.promiseDispatch >>> (/usr/local/lib/node_modules/bower/node_modules/q/q.js:752:41) >>> at /usr/local/lib/node_modules/bower/node_modules/q/q.js:574:44 >>> System info: >>> Bower version: 1.2.6 >>> Node version: 0.10.25 >>> OS: Linux 3.11.0-19-generic x64 >>> >>> I'm kind of stuck, any tips? >>> >>> Thanks! >>> >>> Bernat. >>> >>> >>> -- >>> Bernat Romagosa. >> >> >> >> >> -- >> Bernat Romagosa. >> >> >> >> -- >> Bernat Romagosa. >> >> >> >> -- >> Bernat Romagosa. > > > > > -- > Bernat Romagosa.