2008-06-21:
[17:54] <groovah> Does anyone know of libraries to facilitate online credit-card processing in Helma. Would that even need a library?[18:04] <midnightmonster> doesn't need a lib[18:04] <midnightmonster> beyond http[18:06] <midnightmonster> (and xml) most gateways will provide one or more of: a simple post interface, a custom XML post interface, a SOAP interface.[18:09] <midnightmonster> You can trivially include and access most any Java .jar, so if a gateway provides a Java lib you could generally use that, but I think you'd be likely to find that just building the request and handling the response yourself is not any harder. unless you're using a SOAP interface. And SOAP is an abomination.[18:13] <midnightmonster> look at http://helma.zumbrunn.com/reference/helma.Http.html for documentation of helma's optional Http lib, and don't bother with Helma's XML lib. For non-internal use, E4X is going to be a better way to go. (you'll want to learn a little bit about E4X, though)[18:13] <groovah> I've never heard of E4X. Is the XML lib depricated?[18:13] <midnightmonster> it's not deprecated as far as I know[18:14] <midnightmonster> that's just my opinion[18:14] <midnightmonster> e4x is a standardized extension to javascript supported in Rhino and in Firefox[18:14] <midnightmonster> it makes XML a native data type with its own syntax in Javascript[18:15] <groovah> Cool, I'll have to read up on that. Thanks for your insights![18:15] <midnightmonster> e.g., var para = <p>Hello, <b>{session.user.name}</b></p>;[18:16] <midnightmonster> and to turn a string that you get back from your gateway into an object:[18:16] <midnightmonster> var response = new XML(responseString);[18:17] <midnightmonster> *going to take a shower*[19:55] <groovah> I'm looking at the intro documentation here (http://helma.zumbrunn.com/intro/applications), but would anyone recommend a more traditional tutorial?[20:43] <groovah> Okay, so what's difference or rational between having both .hac and .js extensions?[22:16] <groovah> Found that tutorial: http://helma.org/docs/tutorial/.[23:00] <groovah> Does Helma have any helpers that assist in form validation or anything like that?[23:05] <groovah> I guess a macro could do that?
In the channel now:
Logs by date: