Webinterface plugin (1 Viewer)

Khris

Portal Pro
July 2, 2005
449
0
Edmonton, AB
Home Country
Canada Canada
Thanks for the update. I, as well as others I'm sure, will anxiously wait to be able to use the plugin again! :)

Just a random thought here......but would it be possible to create a little app that compares the two files (.db and .db3) and syncronizes them together so that the plugin will still work?

For example: I create a new recording via the plugin. Every so often, the converter app runs to compare the database file. When it finds that one has been changed, it takes those changes and writes them to the other file as well to "sync" them.

Thoughts?
 

Maschine

Retired Team Member
  • Premium Supporter
  • June 15, 2004
    768
    86
    Germany
    Home Country
    Germany Germany
    Waeberd wrote a little conversion app (somewhere in the MP/database/ folder). Maybe you give this a try. Don't know if it'll work, just a quick idea...

    Maschine
     

    Khris

    Portal Pro
    July 2, 2005
    449
    0
    Edmonton, AB
    Home Country
    Canada Canada
    If I'm understanding it correctly, that will convert from .db to .db3. This doesn't really help unless I want to use just the plugin to schedule recordings.

    I'll just keep my fingers crossed that by the end of the month, the tools will be available to get it working again :)
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    PHP 5.1 BETA 3

    Hi,

    PDO (PHP Data Objects) is included in BETA 3 of PHP 5.1, so it is possible to continiue programming on the web interface until the FINAL release of PHP 5.1 comes out.

    http://www.php.net/downloads.php#v5.1

    If interrested, I would like to try and convert your latest version of the interface, Maschine?

    You can contact me on email og by MSN.

    Sincerly

    Thomas Nielsen
     
    L

    longjohn254

    Guest
    Re: PHP 5.1 BETA 3

    LordMessiah said:
    Hi,

    PDO (PHP Data Objects) is included in BETA 3 of PHP 5.1, so it is possible to continiue programming on the web interface until the FINAL release of PHP 5.1 comes out.

    http://www.php.net/downloads.php#v5.1

    If interrested, I would like to try and convert your latest version of the interface, Maschine?

    You can contact me on email og by MSN.

    Sincerly

    Thomas Nielsen

    Hi, I just want to suggest that you also try adding the latest SQL lite from its site available using the hyperlink below.

    http://sqlite.org/download.html - SQLite Website
    http://pecl.php.net/package/PDO
    http://pecl.php.net/package/PDO_SQLITE

    Sincerly

    John P. Cooper
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    Re: PHP 5.1 BETA 3

    longjohn254 said:
    Hi, I just want to suggest that you also try adding the latest SQL lite from its site available using the hyperlink below.

    http://sqlite.org/download.html - SQLite Website
    http://pecl.php.net/package/PDO
    http://pecl.php.net/package/PDO_SQLITE

    Sincerly

    John P. Cooper

    Yeah....I'm developing on the inferface right now, while Maschine is at an old castle 8) PDO is'nt as easy as ADO I think...but it's going forward.

    I think that PDO will the future of PHP database programming, and not the individual files...Yes I know, that it needs a file pr. database type, but as I'm using PDO standard functions, it does'nt depend on the php_mssql.dll and such...

    Thanks for your suggestion anyway.

    //Thomas
     

    thechad

    Portal Pro
    February 5, 2005
    187
    0
    Geelong, Australia
    Home Country
    You could always move away from accessing the DB directly and interface the MP dll's and use MP's API to perform all of the tasks which would be less prone to breaking with DB schema changes in the future.
     

    samuel337

    Portal Pro
    August 25, 2004
    772
    0
    Melbourne, Australia
    thechad said:
    You could always move away from accessing the DB directly and interface the MP dll's and use MP's API to perform all of the tasks which would be less prone to breaking with DB schema changes in the future.

    This is possible, even now. The web service already exposes most of the TV database functions from MP. However, there is an inevitable performance hit when first MP has to get the data from the database, then serialise it for the web service, then PHP has to interpret the XML, and finally it has to build the pages.

    Of course, you could argue that you could use COM to interface with PHP, eliminating the web service middleman, but then there needs to be a common interface between the two technologies, which will most likely be XML, so again, you have performance hits when PHP has to intrepret the XML data.

    Ultimately, the best case scenario would be to have the web interface in ASP.NET, however, due to legacy reasons, it is not and will most likely not be. The primary reason is that more people who are will to help seem to know PHP, and it also gives those who don't know a .NET language the chance to help out with the project.

    Sam
     

    infinite.loop

    Retired Team Member
  • Premium Supporter
  • December 26, 2004
    16,163
    4,133
    127.0.0.1
    Home Country
    Austria Austria
    i planed to try the web interface with 0.1.3 too bad that this isnt possible at the moment.
    i am looking forward to the next version of your great WebInterface thats working with 0.1.3

    cheers
    Avalon111
     

    LordMessi

    Retired Team Member
  • Premium Supporter
  • July 4, 2005
    449
    0
    45
    Ørsø, Dronninglund, Denmark
    Home Country
    Denmark Denmark
    That's true!

    thechad said:
    You could always move away from accessing the DB directly and interface the MP dll's and use MP's API to perform all of the tasks which would be less prone to breaking with DB schema changes in the future.

    That's true....must be a thing for the future versions.

    //Thomas
     

    Users who are viewing this thread

    Top Bottom