--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+unsubscribe@googlegroups.com
what is needed to utilize php web technology on D3/Linux.
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
1) I might use MVSP/Java as a low-activity pipe. There should be a PHP/Java bridge so that you can instantiate a Java object. I know there is a COM interface for that for Windows. So there is one or more MVSP connections already established and you attach to one of them to do your transaction. I think there will be a performance hit in the instantiation of the Java object. Some experimentation is required. MVSP has had updates since 9.0. If you go this route I’d recommend a D3 upgrade.
2) You could write the data from PHP to the file system and then execute D3TCL to invoke a command that processes that data. Or just pass a small payload in the command-line. This will have a bigger performance hit than option 1 since it needs to login every time. I’d only do this when the number of hits is tiny. It’s a free and easy option, we pay with a lack of performance.
3) For a more robust environment, I’d set up a web service in a local IIS box and then make a hop from Apache/PHP there. Pass the payload via a SOAP or REST as desired. The web service uses mv.NET to connect back into D3. This bridge might be faster than the other options. It’s more robust because you get session pooling and no login pain – and for the benefit there will be a cost. The extra HTTP hop might seem like a performance hit but in this world of disconnected data we do this all the time. In fact in a typical LAMP environment the Apache server and MySQL databases are rarely on the same server- there is almost Always another hop from web server to data. So this is not an inelegant solution.
I’d be happy to provide all related code and licenses so that you can focus on the PHP part. I’d provide a generic interface via a PHP class so that you can just set the data and invoke a method to do the connectivity. The result would be exposed as a property on the connection object, as a string, array, or JSON object – whatever you want.
****Hi Tony, do you still have all the related code and licenses? I would be very happy if you could help me with that.
El Thursday, October 16, 2014 a la(s) 8:45:07 PM UTC-3, Tony Gravagno escribió:
1) I might use MVSP/Java as a low-activity pipe. There should be a PHP/Java bridge...
2) You could write the data from PHP to the file system and then execute D3TCL...
3) For a more robust environment, I’d set up a web service in a local IIS box and then make a hop from Apache/PHP there. Pass the payload via a SOAP or REST as desired. The web service uses mv.NET to connect back into D3....
I’d be happy to provide all related code and licenses so that you can focus on the PHP part....
****
--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mvdbms/4a811ce0-37a8-4d4f-9d8f-c3b075e0424dn%40googlegroups.com.