Re: Database developer's gentle view on D.

2011-12-31 Thread Gour
On Sat, 31 Dec 2011 20:28:43 -0800
bls  wrote:

> A Database independent, ORM based library module is not even matter of
> discussion. That's a  pity.

That would be nice, indeed.

> Well for us Windoze is the only interesting Desktop platform.
> A _reasonable_ GUI is not available yet.(D-GUI looks pretty
> good,though) 

What is D-GUI, gtkD or DWT?


Sincerely,
Gour


-- 
As a strong wind sweeps away a boat on the water, 
even one of the roaming senses on which the mind 
focuses can carry away a man's intelligence.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


Re: Database developer's gentle view on D.

2012-01-01 Thread Jimmy Cao
2012/1/1 Gour 

> On Sat, 31 Dec 2011 20:28:43 -0800
> bls  wrote:
>
> > A Database independent, ORM based library module is not even matter of
> > discussion. That's a  pity.
>
> That would be nice, indeed.
>
> > Well for us Windoze is the only interesting Desktop platform.
> > A _reasonable_ GUI is not available yet.(D-GUI looks pretty
> > good,though)
>
> What is D-GUI, gtkD or DWT?
>
>
dgui:

http://code.google.com/p/dgui/

GUI library for Windows.  Pretty easy to use.

-

gtkD and dwt2 are cross-platform GUI libraries for D.

http://www.dsource.org/projects/gtkd

https://bitbucket.org/torhus/dwt2


Re: Database developer's gentle view on D.

2012-01-01 Thread Gour
On Sun, 1 Jan 2012 02:22:59 -0600
Jimmy Cao  wrote:

> GUI library for Windows.  Pretty easy to use.

Thank you, but not interesting for us looking for multi-platform
library.


Sincerely,
Gour


-- 
Those persons who execute their duties according to My injunctions 
and who follow this teaching faithfully, without envy, become free 
from the bondage of fruitive actions.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


Re: Database developer's gentle view on D.

2012-01-01 Thread Steve Teale
On Sat, 31 Dec 2011 20:28:43 -0800, bls wrote:

> Not yet available. In case that Steve Teale (and he did a dammed
> good Job, as well as Piotr) will add std.database this will not change
> the situation significantly. 'Cause std.database will contain just
> rudimentary DB support..  A Database independent, ORM based library
> module is not even matter of discussion. That's a  pity.
> 
> 
Bjoern,

Even being retired does not mean there's nothing else to do but D library 
components. I didn't get back to you yet because I'm busy making 
furniture for our expanding little enterprise here, and because of the 
holidays, and because I need to lose a few kilos off the belly that 
magically appeared while I was doing nothing but sit in front of a 
keyboard.

Also I'd say for rudimentary I'd want to say basic. There's a slight 
difference.

I'll be back.

Steve

But don't put the database stuff



Re: Database developer's gentle view on D.

2012-01-01 Thread Adam D. Ruppe

On Sunday, 1 January 2012 at 04:28:45 UTC, bls wrote:
WEB Development is for sure doable in D, reusable Frameworks 
are nevertheless AFAIK not available.


What kind of features did you have in mind for this?



Re: Database developer's gentle view on D.

2012-01-02 Thread bls

On 01/01/2012 10:49 AM, Adam D. Ruppe wrote:

On Sunday, 1 January 2012 at 04:28:45 UTC, bls wrote:

WEB Development is for sure doable in D, reusable Frameworks are
nevertheless AFAIK not available.


What kind of features did you have in mind for this?



Hi Adam,
first of all: A happy and successful new year to you!
To answer your question  :
An SaaS application living in a Cloud-Space, preferred atm is Amazon EC. 
The database Back-End will be (most probably PostGreSQL)
WHY PostGres ? Callback notifications/ Server-side events ... not 
available in MySQL. (which you prefer in your framework)

Another point is DB replication, partial DB replication. #

The challenge for us is SaaS user management.
Due to the fact that we are supporting small companies(1-5 users) as 
well as huge,international acting companies the Saas Software has to scale.
I.E. From : "I would give your Software a try. We need just the basic 
package" ... to "We want it all (and more); We are looking for a long 
term contract" .
In detail this means we have customers who wish to rent just PARTs OF 
OUR SOFTWARE for a month, others would like to rent our Software for a 
year, including all features.


SOAP/REST  is (in our case) needed to f.i. obtain prices. (https 
tunneling seems to be good enough (tm) )The other need for SOAP/REST (I 
am not sure if should go this way) is to access the SaaS application to 
receive certain informations/to add an potential clients, reuests, what 
the heck. ) In this case we have to establish a WSDL/REST - maybe oData 
Service.  (I would  prefer REST)


---Still have a hangover from new years day, so that's it 4 the moment.

Indeed, I had your library in mind while talking about D for the WEB.
Bjoern


Re: Database developer's gentle view on D.

2012-01-02 Thread bls

On 01/01/2012 07:02 AM, Steve Teale wrote:

On Sat, 31 Dec 2011 20:28:43 -0800, bls wrote:


 Not yet available. In case that Steve Teale (and he did a dammed
good Job, as well as Piotr) will add std.database this will not change
the situation significantly. 'Cause std.database will contain just
rudimentary DB support..  A Database independent, ORM based library
module is not even matter of discussion. That's a  pity.



Bjoern,

Even being retired does not mean there's nothing else to do but D library
components. I didn't get back to you yet because I'm busy making
furniture for our expanding little enterprise here, and because of the
holidays, and because I need to lose a few kilos off the belly that
magically appeared while I was doing nothing but sit in front of a
keyboard.

Also I'd say for rudimentary I'd want to say basic. There's a slight
difference.

I'll be back.

Steve

But don't put the database stuff



Hi Steve,
first of all: A happy and successful new year to you!

What makes me a bit nervous is the use of structures in your source.
In case that your goal is to establish a D database access standard, 
client and server wise, Interfaces are the way to go.


Well, isn't  the right of the youth to be impatient :) (I am just 50)

So I am waiting for your feedback regarding the link I've send you. In 
my (in this case not so humble opinion) following this Design would make 
much sense.

Kind regards, Bjoern


Re: Database developer's gentle view on D.

2012-01-02 Thread bls

On 01/01/2012 12:22 AM, Jimmy Cao wrote:

GUI library for Windows.  Pretty easy to use.


... and should be named Forms4D

I definitely like this library. Pretty straight OOP, Each DOTNET Forms 
developer will immediately  feel at home. New liberal license. Just cool!




Re: Database developer's gentle view on D.

2012-01-02 Thread Walter Bright

On 1/1/2012 7:02 AM, Steve Teale wrote:

Even being retired does not mean there's nothing else to do but D library
components.


Steve,

Happy New Year!

Now get back to work! 


Re: Database developer's gentle view on D.

2012-01-04 Thread Regan Heath

On Mon, 02 Jan 2012 17:16:13 -, bls  wrote:


On 01/01/2012 12:22 AM, Jimmy Cao wrote:

GUI library for Windows.  Pretty easy to use.


... and should be named Forms4D


Or DForms (like WinForms from C#), or perhaps DFormed :p

I definitely like this library. Pretty straight OOP, Each DOTNET Forms  
developer will immediately  feel at home. New liberal license. Just cool!


Cool, I should take a look at it :)

R

--
Using Opera's revolutionary email client: http://www.opera.com/mail/


Re: Database developer's gentle view on D.

2012-01-04 Thread Adam D. Ruppe

On Monday, 2 January 2012 at 16:21:16 UTC, bls wrote:
WHY PostGres ? Callback notifications/ Server-side events ... 
not available in MySQL. (which you prefer in your framework)


Aye, I've done some postgres, but since my main work app
uses mysql I haven't spent a lot of time on it.

While basic queries I'm pretty sure work right, I haven't used
any of the more advanced features (partially because mysql doesn't
have any).

SOAP/REST  is (in our case) needed to f.i. obtain prices. 
(https tunneling seems to be good enough (tm) )The other need 
for SOAP/REST (I am not sure if should go this way) is to 
access the SaaS application to receive certain informations/to 
add an potential clients, reuests, what the heck. ) In this 
case we have to establish a WSDL/REST - maybe oData Service.


Right now, I think this could be done with my stuff, but it
doesn't really exist yet.

There's http api like things available in web.d, but it isn't
SOAP or have WSDL... again, it just hasn't come up for me.


I was replacing php with D more than replacing Java :)



It's slowly growing though! As stuff comes up that I
need for me, I'll write it.


Re: Database developer's gentle view on D.

2012-01-04 Thread Dejan Lekic
Nobody stops you to fill the gap with your own code...

-- 
Dejan Lekic - http://dejan.lekic.org


Re: Database developer's gentle view on D.

2012-01-06 Thread sclytrack

On 01/01/2012 04:02 PM, Steve Teale wrote:

On Sat, 31 Dec 2011 20:28:43 -0800, bls wrote:


 Not yet available. In case that Steve Teale (and he did a dammed
good Job, as well as Piotr) will add std.database this will not change
the situation significantly. 'Cause std.database will contain just
rudimentary DB support..  A Database independent, ORM based library
module is not even matter of discussion. That's a  pity.



Bjoern,

Even being retired does not mean there's nothing else to do but D library
components. I didn't get back to you yet because I'm busy making
furniture for our expanding little enterprise here, and because of the
holidays, and because I need to lose a few kilos off the belly that
magically appeared while I was doing nothing but sit in front of a
keyboard.

Also I'd say for rudimentary I'd want to say basic. There's a slight
difference.

I'll be back.

Steve

But don't put the database stuff



Could the result type of the query be

Variant [][][string] resultSet;

... and the string would be something like.

"data" //original data returned by the query
"changed"
"columnNames"

"bgColor"

or does it need something more specialised?