Re: Re[2]: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-23 Thread ik
On Tue, Dec 22, 2009 at 8:07 PM, JoshyFun joshy...@gmail.com wrote:

 Hello FPC-Pascal,

 Tuesday, December 22, 2009, 3:18:27 PM, you wrote:

 GG JoshyFun wrote:
  etc. For serious projects with important data it has many deficiences.

 GG I thought all data should be treated as important - otherwise why
 bother
 GG saving it. :-)

 Check your temp folder :)


That data is important, at least at one point it was, but no longer, thats
what it was saved in the first place.



 --
 Best regards,
  JoshyFun

 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Ido
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re[4]: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-23 Thread JoshyFun
Hello FPC-Pascal,

Wednesday, December 23, 2009, 9:36:30 AM, you wrote:

 GG I thought all data should be treated as important - otherwise why
 bother
 GG saving it. :-)
 Check your temp folder :)
i That data is important, at least at one point it was, but no longer, thats
i what it was saved in the first place.

Please check the :) smiley at the end...

-- 
Best regards,
 JoshyFun

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] sql server embedded: sqlite the only solution?

2009-12-23 Thread Luca Olivetti

En/na JoshyFun ha escrit:



SQLite is faster than Firebird, but take care that SQLite does not
enforce foreign keys, so data integrity must be handled by the
programmer manually.


It does, since version 3.6.19 (released in October).
Before that you could enforce foreign keys using triggers, and the 
triggers could be autogenerated by the .genfkey command.


Bye
--
Luca
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] mixin feature

2009-12-23 Thread Bee Jay

Hi all,

I'm now studying Qooxdoo (JS framework) to make ExtPascal-like tool  
based on it. Qooxdoo's OO implementation has mixin feature (http://en.wikipedia.org/wiki/Mixin 
). Since this feature is not provided by object pascal language, I  
have trouble writing the library wrapper. For the first step, maybe I  
just could skip the feature. But this would prevent custom widget  
creation of Qooxdoo from pascal. Somehow, I'm curious about it since  
QWT (qooxdoo for GWT) is able to provide mixin in Java which also  
doesn't support mixin. So I think there must be a way to implement it  
in Pascal as well.


Can someone tell me how to implement fake mixin feature in pascal?  
Or better, is it possible if FPC provides such language feature? I  
think it's good language feature (compare to sealed class, for  
example) and can be quite useful in some cases.


TIA.

--

-Bee-

...making buzzes at http://twitter.com/beezing
...writing stories at http://beeography.wordpress.com

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal