[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] Minimum requirements to make a QT app into a KDE app?
From:       Cornelius Schumacher <schumacher () kde ! org>
Date:       2001-11-08 1:04:39
[Download RAW message or body]

On Wednesday 07 November 2001 20:23, Bryan Brunton wrote:
> << Even with the databound widgets of Qt it is possible to add a
> middle layer. These are no special widgets, but classes, which
> operate on the standard widgets. If you put this behind an abstract
> interface you have the middle layer. >>
>
> Yes, this could be a potentially valid way to do things.  Subclass
> the data aware widget and have it write using whatever existing
> middleware that KOrganizer/KAddressbook uses.

Exactly.

> << How will you interface the PHP code to your Qt code? >>
>
> Potentially my business logic C++ code could be accessed from PHP.  I
> have no experience using C++ libraries from PHP, might not even be
> possible.  I was simply planning on accessing my database using
> traditional PHP tools and re-implementing the business logic.

That's duplication of code and it means that you have to manually make 
sure that all fields are used consistently. There are better ways to do 
something like that.

> << You are not the first one attempting to write such a thing ;-). >>
>
> Yes, but I might be the first who attempts it using the right tools:
> the new QT database functionality.

Good luck :-) You still have to solve the problems of 
authentiification, the GUI and interoperability. Accessing a database 
directly is not much more difficult than using the Qt classes. The real 
problems are not related to the backend.

-- 
Cornelius Schumacher <schumacher@kde.org>

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic