2007-11-09:
[13:16] <kuccello> Anyone awake?[14:18] <zumbrunn> hi kuccello[14:19] <kuccello> did you get a chance to read the article?[14:19] <zumbrunn> only a quick first glance[14:19] <zumbrunn> not a detailed read yet[14:20] <kuccello> I'm having dificulty understanding where to create new objects (like the Feed object in the article)[14:21] <kuccello> do I create sub directories under HopObject or where?[14:21] <zumbrunn> no, that wouldn't make sense[14:22] <kuccello> I am comming from the Java / Tomcat world of web development so some of Helma concepts throw me off a bit[14:22] <zumbrunn> does it assume the data is already in the db?[14:22] <zumbrunn> what is the example app supposed to do?[14:23] <zumbrunn> maybe it only generates a feed from existing data[14:23] <kuccello> its supposed to read the feed (defined by the id on the url) and render the feed on screen[14:23] <kuccello> I have one feed defined in the db table[14:23] <kuccello> I try to access it by http://localhost:8080/1[14:23] <kuccello> which is how the artilce says to trigger it[14:24] <kuccello> but I don't know where I should be putting the Feed.js file[14:24] <kuccello> I keep getting "Feed Undefined"[14:24] <zumbrunn> looks like the Feed.js file would go inside Global[14:24] <kuccello> ok, let me try that[14:25] <zumbrunn> that's the way the code is written[14:25] <zumbrunn> the alternative would be to place the code that defines the Feed prototype into a directory called "Feed"[14:26] <kuccello> At the same level as Root?[14:26] <zumbrunn> yes[14:26] <zumbrunn> like HopObject and Global[14:26] <kuccello> I tried that but it didnt work - may have missed something though[14:26] <kuccello> what about the type.properties?[14:26] <zumbrunn> what about the type.properties?[14:27] <zumbrunn> if the code is placed inside a Feed directory, the code structure needs to be different[14:27] <kuccello> where should it be located? I have it in Root[14:27] <zumbrunn> because that code is compiled in the scope of the Feed prototype[14:28] <zumbrunn> so instead of defining Feed.prototype.main_action you would just define a function called main_action[14:29] <zumbrunn> or just create a file called main.hac, containing the function body[14:29] <zumbrunn> type properties should be in the directory of the prototype you want to define[14:30] <zumbrunn> you mean Listing 2, right?[14:30] <zumbrunn> that probably belongs in Root[14:31] <zumbrunn> nope looks like it belongs in the Feed directory[14:32] <zumbrunn> a directory listing showing the intended file structure would have been helpful[14:35] <zumbrunn> have you found the code on the Linux Magazin download page?[14:35] <zumbrunn> it's supposed to be there somewhere[14:41] <kuccello> sorry was in a meeting[14:41] <kuccello> back now[14:42] <kuccello> I went to the site but its not there yet[14:42] <kuccello> I hope they post it soon[14:43] <zumbrunn> I didn't even find a download section[14:44] <zumbrunn> oh, just saw the URL in the article now[14:45] <kuccello> Where can I get more example applications to play with. I learn best through examples but I only have the welcome app and this magazine application to compare with[14:46] <zumbrunn> http://dev.helma.org/Wiki/Related+Projects/[14:47] <kuccello> cool, thanks[14:47] <zumbrunn> gobi or antville/twoday come to mind[14:47] <zumbrunn> but they are quite a bit bigger[14:47] <zumbrunn> doesn't really qualify as an "example" anymore[14:47] <kuccello> thats ok, anything I can poke at and play with helps[14:47] <zumbrunn> there is the tutorial http://helma.org/docs/tutorial/[14:48] <kuccello> I have been going through that tutorial[14:48] <kuccello> I just need to build out my mental model of how to structure my code etc. directory struct and files[14:49] <zumbrunn> and there is this mini blog tutorial by Fabian: http://www.fabianbartsch.net/?p=16[14:49] <zumbrunn> but the tutorial is in german[14:49] <kuccello> I'll try running it through google translate[14:50] <zumbrunn> the code for it is here: http://www.fabianbartsch.net/files/blog-beispiele/helma/mini-blog/mini-blog.rar[14:51] <kuccello> thats great! thanks, I'm goning to go explore the code now - btw: are you able to see my blog now? http://www.helmablog.com just want to know if the dns resolves?[14:51] <zumbrunn> I just went to check that before you asked[14:51] <zumbrunn> yes[14:52] <zumbrunn> I'm subscribed now :-)[14:52] <kuccello> cool, thanks, I'm at work right now so I have to do some stuff - are you around on the weekend?[14:53] <zumbrunn> yes[14:53] <kuccello> cool, thanks for all the help I'll msg you later[15:13] <hypersmil> zumbrunn: have you thought about a rss feed/digest e-mail (http://helma.zumbrunn.net/hopbot/2007-10-19)[15:13] <zumbrunn> not any further than what was discussed there yet
In the channel now:
Logs by date: