using Pier CMS at StartupWeekend Toronto

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

using Pier CMS at StartupWeekend Toronto

Yanni Chiu
Saturday morning I'm still looking for a group to join at StarupWeekend
Toronto. In the lunch lineup, right behind me, is someone from a small
group looking for a developer. So I'm in.

They already have a landing page on a server, but I need to build a
prototype that queries a URL for a JSON response, and display the
result. We'll have to figure out how to tie it together for a demo.

Since I've got a free hand, I used a Pier CMS, and loaded JSON from
SqueakSource. Then a wrote a PRWidget to get the JSON data, parse, and
display. Still some clean up, CSS, and deployment to do.

You can follow along at #swtoronto and somewhere on Facebook and Twitter
is the "GettingGives" stuff -- no links, sorry I'm not a Facebooker or
Twitterer (yet?), and I forgot to ask the business crew earlier.

--
Yanni

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

Re: using Pier CMS at StartupWeekend Toronto

Yanni Chiu
On 05/06/11 2:14 AM, Yanni Chiu wrote:
>
> Since I've got a free hand, I used a Pier CMS, and loaded JSON from
> SqueakSource. Then a wrote a PRWidget to get the JSON data, parse, and
> display. Still some clean up, CSS, and deployment to do.

Our group didn't place in the top, but the real point was to be there to
talk to people about what they do and how they do it.

Here's a wrap up. The code was real simple. One PRWidget subclass, and a
model introduced to simplify access to the JSON tree.

The real problem came Sunday morning. I had been developing code on
localhost, and thought to deploy from home, because the internet access
at the conference was saturated. I had built a clean image from scratch
(in the wee hours of the morning), tested it locally, uploaded to a
server - and ... no response. Oh well, easy fix for the next morning.

I was using a set up that I had deployed to already. I knew the tweaks I
needed to do - turns out I missed a few. The Apache log let me figure
that out. Then the PharoDebug.log told me I needed the .sources and
.changes file too.

Now the site is up. I navigate to the url I want, and ... no response.
Nothing wrong in PharoDebug.log, and now I regret choosing not to
install RFB (figuring I've done this deployment thing before, so it's
just gonna work). Then I try /tools/screenshot, and I confirm that
there's no debug window. I figure out from the debug log that I need
some deployment code from some other project. I put that in, and still
no go. Well now I have to leave to get to the conference site.

We have to go to plan B, and present the demo from localhost. I work on
making the page pretty - a combination of renderContentOn: work, and CSS
editting on Pier. We're out of time, the team's presenters need to
practice, so I can't install it on their machine. Oh well, plac C, I'd
sent them printscreens, just in case.

While they're practicing, I go back to getting the site working. I hit
the link, and it works. Must have been some caching effect in my
browser, or even in my ISP. So I upload the latest image and stuff,
which takes 15 minutes, due to the internet connection. (Aside, I
suspect the slowness was actually due to traffic shaping by the ISPs in
our country, because the upload seemed to be throttled in the same
manner as at home). The new image works, and we use it in the demo - not
quite, because the speakers ran short on time and spent 3 seconds on it.

--
Yanni

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

Re: using Pier CMS at StartupWeekend Toronto

Lukas Renggli
Sounds like this was an exciting event. Any chance to see te resulting
app and/or the source code? I am sure many people would be interested
;-)

Cheers,
Lukas

On Monday, 6 June 2011, Yanni Chiu <[hidden email]> wrote:

> On 05/06/11 2:14 AM, Yanni Chiu wrote:
>
>
> Since I've got a free hand, I used a Pier CMS, and loaded JSON from
> SqueakSource. Then a wrote a PRWidget to get the JSON data, parse, and
> display. Still some clean up, CSS, and deployment to do.
>
>
> Our group didn't place in the top, but the real point was to be there to talk to people about what they do and how they do it.
>
> Here's a wrap up. The code was real simple. One PRWidget subclass, and a model introduced to simplify access to the JSON tree.
>
> The real problem came Sunday morning. I had been developing code on localhost, and thought to deploy from home, because the internet access at the conference was saturated. I had built a clean image from scratch (in the wee hours of the morning), tested it locally, uploaded to a server - and ... no response. Oh well, easy fix for the next morning.
>
> I was using a set up that I had deployed to already. I knew the tweaks I needed to do - turns out I missed a few. The Apache log let me figure that out. Then the PharoDebug.log told me I needed the .sources and .changes file too.
>
> Now the site is up. I navigate to the url I want, and ... no response. Nothing wrong in PharoDebug.log, and now I regret choosing not to install RFB (figuring I've done this deployment thing before, so it's just gonna work). Then I try /tools/screenshot, and I confirm that there's no debug window. I figure out from the debug log that I need some deployment code from some other project. I put that in, and still no go. Well now I have to leave to get to the conference site.
>
> We have to go to plan B, and present the demo from localhost. I work on making the page pretty - a combination of renderContentOn: work, and CSS editting on Pier. We're out of time, the team's presenters need to practice, so I can't install it on their machine. Oh well, plac C, I'd sent them printscreens, just in case.
>
> While they're practicing, I go back to getting the site working. I hit the link, and it works. Must have been some caching effect in my browser, or even in my ISP. So I upload the latest image and stuff, which takes 15 minutes, due to the internet connection. (Aside, I suspect the slowness was actually due to traffic shaping by the ISPs in our country, because the upload seemed to be throttled in the same manner as at home). The new image works, and we use it in the demo - not quite, because the speakers ran short on time and spent 3 seconds on it.
>
> --
> Yanni
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>

--
Lukas Renggli
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: using Pier CMS at StartupWeekend Toronto

Yanni Chiu
On 06/06/11 12:05 PM, Lukas Renggli wrote:
> Sounds like this was an exciting event. Any chance to see te resulting
> app and/or the source code? I am sure many people would be interested
> ;-)

I've sanitized the code and attached it. One package is the app widget.
The other is my deployment code (which I was going to upload to the
Pier2 Add-Ons repo, but I forgot my password and the site gives "Cannot
connect to 127.0.0.1:25. Please contact the site-administrator")

I will be taking the demo site down, since I'm not continuing with the
project. But included is a snapshot.


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

GettingGives-Seaside-YanniChiu.4.mcz (9K) Download Attachment
Pier-Deploy-Core-YanniChiu.1.mcz (4K) Download Attachment
gettinggives-demo.png (518K) Download Attachment