Hopbot log for 2007-11-05 - Helma IRC channel: #helma on irc.freenode.net

2007-11-05:

[5:02] <BSlivka> Hrmn I wonder if there's any documentation of Helma's SQL like language
[5:20] <BSlivka> File is depreciated, reccomended to use helma.File
[5:20] <BSlivka> and yet helma.File returns undefined
[7:56] <zumbrunn> BSlivka, helma.File is a optional module
[7:57] <zumbrunn> you need to add it with app.addRepository('modules/helma/File.js')
[7:57] <BSlivka> Right right.
[7:57] <zumbrunn> or add the repository in your apps.properties file
[7:57] <BSlivka> Gotcha
[7:57] <zumbrunn> which SQL like language of helma were you talking about earlier?
[7:59] <BSlivka> The one used in properties files, and in the orderby methods
[7:59] <BSlivka> and filters
[7:59] <BSlivka> A lot of bits in the reference say "it's similar to SQL syntax, but not the same"
[8:00] <BSlivka> but then don't go into any more detail, or link to anything that would explain that
[8:00] <BSlivka> Maybe that's a weasel word "a lot of"
[8:00] <BSlivka> I should link you to a specific example
[8:01] <BSlivka> http://helma.zumbrunn.net/reference/core/HopObject.html#getOrderedView
[8:02] <BSlivka> in the examples there's nothing SQL-like, it's just a property name
[8:03] <zumbrunn> "createtime desc, name" is what was considered SQL like there, I think
[8:03] <zumbrunn> I don't think there is more to it
[8:04] <zumbrunn> if anything, the claim that it is SQL-like should probably be changed
[8:05] <BSlivka> I'm not sure that's the only instance of the claim. I think there's some other references to SQL in the type.properties guide
[8:06] <BSlivka> I think there's some explaination of orderby in the type.properties guide
[8:06] <BSlivka> perhaps getOrderedView() should link to that for more info on the property [asc|desc] sytax
[8:09] <zumbrunn> well, that's what is SQL-like about it, no?
[8:10] <BSlivka> Well sure, I don't necessarily have any objection to it being referred to as SQL-Like
[8:11] <BSlivka> just that there's no reference for more info in getOrderedView()'s documentation
[8:11] <zumbrunn> yep
[8:11] <BSlivka> There's not a lot more to it than what the example shows, I suspect, but it's difficult to know that
[8:11] <zumbrunn> yes
[21:42] <thelittlebug> servus

 

 

In the channel now:

Logs by date: