Pier mobile view

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Pier mobile view

Nick
Hi,

I vaguely remember some work was undertaken making a mobile view for Pier. Is it still available? How did/does it work? Custom templates, views? Did/does it select the view based on user agent?

I was wondering about using jQueryMobile to create a mobile view - though as I write this perhaps a mobile rss reader and using Pier's rss support would fulfil a similar purpose? Thoughts?

Cheers

Nick

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier mobile view

Lukas Renggli
It was a new view using a new entry point. Should be easy to dispatch depending on user-agent using Seaside-REST or Apache. Was based on some Javascript/CSS iPhone library/theme. I think you can find it on my SqueakSource under the name iSea.

Lukas

On Tuesday, 6 December 2011, Nick Ager <[hidden email]> wrote:
> Hi,
> I vaguely remember some work was undertaken making a mobile view for Pier. Is it still available? How did/does it work? Custom templates, views? Did/does it select the view based on user agent?
> I was wondering about using jQueryMobile to create a mobile view - though as I write this perhaps a mobile rss reader and using Pier's rss support would fulfil a similar purpose? Thoughts?
> Cheers
> Nick

--
Lukas Renggli (mobile)
http://www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier mobile view

Nick
Hi Lukas,

I think you can find it on my SqueakSource under the name iSea.

Thanks - its really cool. Makes me realise that nothing is new - you had a jQueryMobile-lite implementation 3+years ago - amazing!

Cheers

Nick



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier mobile view

Lukas Renggli
Ehh well, unfortunately it never made it quite out of the "hack" state. Great that you could pick it up. I guess it is not worth more than to demonstrate how to create an alternative web view.

Lukas

On Tuesday, 6 December 2011, Nick Ager <[hidden email]> wrote:
> Hi Lukas,
>
>> I think you can find it on my SqueakSource under the name iSea.
>
> Thanks - its really cool. Makes me realise that nothing is new - you had a jQueryMobile-lite implementation 3+years ago - amazing!
> Cheers
> Nick
>
>

--
Lukas Renggli (mobile)
http://www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier mobile view

Yanni Chiu
In reply to this post by Nick
On 06/12/11 6:07 AM, Nick Ager wrote:
>
> I was wondering about using jQueryMobile to create a mobile view -
> though as I write this perhaps a mobile rss reader and using Pier's rss
> support would fulfil a similar purpose? Thoughts?

All I did was:

PRPierFrame subclass: #JQMPierFrame ...

JQMPierFrame>>registerAsApplication: aString kernel: aKernel
        "self registerAsApplication: 'pier' kernel: (PRKernel instanceNamed:
'pier')"

        | app |
        app := JQMAdmin register: self asApplicationAt: aString.
        self configureApplication: app.
        app preferenceAt: #kernel put: aKernel.
        ^ app

I can't remember all the additional tweaks I had to make, to get a
mostly workable jQueryMobile look. (The Pier Browse view will need
re-working to fit in with JQM, so that's a TODO).

Unfortunately, the changes are one-way - i.e. the non-JQM web look is
not easily available. It would be great to be able to choose the view
based on user agent.

I can put together what I have as a PierAddon, and then we can try to
make it switchable based on user agent. Is there interest in doing this?

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Pier mobile view

Nick
Hi Yanni,

I can put together what I have as a PierAddon, and then we can try to make it switchable based on user agent. Is there interest in doing this?

Sounds good.  

I'm still experimenting too. I was thinking that a good mobile view of the blog would be a good start. Followed by a way of reading pier books on a mobile device, that feels a little like the e-reader apps but delivered to the browser.

A secondary focus would be to enable the administration tools within a mobile app. Something like the wordpress iOS app - http://ios.wordpress.org/

Still more thoughts than concrete ideas, but I would love to collaborate.

Cheers

Nick

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki