[Ledger-smb-devel] What's ahead for PGObject

2014-02-28 Thread Chris Travers
Hi;

First what we have right now:

1.  Type registry support so we can add registrations of our own
db-interfacing types.  Type handlers currently exist for numbers, datetime
fields, and json fields.  Handlers also work with arrays which they don't
in our current codebase.

2.  Declarative method definition for stored-procedure-based methods,
matching most of our common cases.

3.  Lazy attribute handling properly done.

4.  Running aggregates (i.e. run an aggregate over the ROWS UNBOUNDED
PRECEDING window) when calling a stored procedure.

5.  Contextual returns, so $ref = $self-call_dbmethod(...) returns the
first row in the set.

This is in addition to everything currently in the DBObject and
DBObject_Moose modules.

So that's what we have, and it should be

I don't know how much of this will get used for 1.5 but it may be really
handy for 1.6 but here are the new features I am working on:

1.  Serializing and deserializing of arrays and composite types, allowing
nesting of arrays in tuples to arbitrary depth.

2.  Composite types could then be serialized and passed into db calls as
objects without the need for things like cross-indexed arrays and the like.

-- 
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor
lock-in.
http://www.efficito.com/learn_more
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Ledger-smb-devel mailing list
Ledger-smb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel


Re: [Ledger-smb-devel] What's ahead for PGObject

2014-02-28 Thread John Locke
Hi, Chris,

On 02/28/2014 03:45 AM, Chris Travers wrote:
 I don't know how much of this will get used for 1.5 but it may be 
 really handy for 1.6 but here are the new features I am working on:

 1.  Serializing and deserializing of arrays and composite types, 
 allowing nesting of arrays in tuples to arbitrary depth.

 2.  Composite types could then be serialized and passed into db calls 
 as objects without the need for things like cross-indexed arrays and 
 the like.


That sounds very intriguing, I could really see this working well for 
the web services angle in particular -- being able to represent an 
entire invoice with line items and possibly payments as a single JSON 
object, post that to the web service, which in turn simply uses this 
interface...

Cheers,
John Locke
http://www.freelock.com

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Ledger-smb-devel mailing list
Ledger-smb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel