Forums

Data Exchange Integration with PHP

Last post 04-26-2008, 11:41 AM by csimmons. 13 replies.
Sort Posts: Previous Next

     10-10-2006, 11:02 AM 509

    Data Exchange Integration with PHP

    Our webpage backend is currently on PHP. We are looking to change over to an ASP backend next year, mainly for integration with FellowshipOne and EventU. But in doing so, we're going to lose a lot of applets we are currently using.

     My question is, has anyone made any attempts or progress in integrating the Data Exchange module with PHP?
     


    | Filed under: ,

     10-10-2006, 12:41 PM 511 in reply to 509

    Re: Data Exchange Integration with PHP

    Just because Fellowship Technologies uses Microsoft ASP doesn't mean you have to. They offer SOAP and REST-based access to the data, which is simply XML over HTTP - accessible from most technologies.

     10-16-2006, 2:13 PM 542 in reply to 511

    Re: Data Exchange Integration with PHP

    So I guess I'm heading to Barnes n' Nobles and picking up a good SOAP book. Any suggestions or know of any training classes you would recommend?

     10-18-2006, 11:40 AM 553 in reply to 542

    Re: Data Exchange Integration with PHP

    Attachment: DEUserLoginParse.zip

    I have attached an example of how to accomplish the SOAP communication via PHP using CURL.  The example is from a real implementation of how to simulate a WebLink login.

     Regarding books / training / technology:

    While the attached example uses CURL, I have personally used NuSoap/PHP to accomplish the same thing - NuSoap.  As jhigginbotham stated this is XML over HTTP so you can use many programming flavors - C#, VB.NET, ASP script, JavaScript, Perl, Python, Java, and PHP.

    The following is a great article that explains in detail how the two technologies work together -  XML.com.

     I am currently working on some client libraries to ease DataExchange implementation for .NET, Perl, PHP and JavaScript users.

    --Nick Floyd

     12-01-2006, 10:56 PM 730 in reply to 553

    Re: Data Exchange Integration with PHP

    I am working on being able to use DE via javascript. I can get your php sample working just fine but can't quite get there with javascript. 

    Right now I think I'm hung up on the ' . htmlspecialchars($sAuthenticateHeader) . ' in your code. I understand what it does but why is this needed? I can't find an equivalent in javascript. 

    The error I receive from the server is : System.Web.Services.Protocols.SoapException: Server was unable to read request. ---> System.InvalidOperationException: There is an error in XML document (6, 2). ---> System.Xml.XmlException: This is an unexpected token. The expected token is 'QUOTE'. Line 6, position 28. Any help is appreciated. 

    Thanks 

    Mark
    | Filed under: , ,

     12-12-2006, 4:03 PM 777 in reply to 730

    Re: Data Exchange Integration with PHP

    Mark:

    I have attached our JavaScript code libraries used for consuming DataExchange.  There are two examples; one using a webservice.htc (proprietary - Internet Explorer) file to generate the SOAP message and another example generating the SOAP message in-line using XMLHTTPRequest().

    Please let me know if you have any questions.  We will be posting the following code libraries soon: C#, Classic ASP, JavaScript, and PHP.  We are currently working on Perl, VB, and VB.NET samples.

    --Nick Floyd

     

     02-05-2007, 12:46 PM 1038 in reply to 777

    Re: Data Exchange Integration with PHP

    I'd like to stay up to date with this as well. I am currently building a church's website with ExpressionEngine as the CMS and they want to integrate F1 into their site so congregation members can do the following: -Initial account creation using assigned keycode card number as account number? -Login -Access their "account"; edit their personal info, edit their tithing settings (saved account info, frequency for auto-tithing, etc) -List and Signup for events/classes -Interact with small groups? -Signup to volunteer -anything else F1 handles that congregation should be able to access from home If anyone has any insight and could point me where I need to go that would be great! Mike

     02-05-2007, 1:51 PM 1039 in reply to 1038

    Re: Data Exchange Integration with PHP

    Mike,
     
    What you are interested in is Weblink.  This is already builtin to F1.
     
    Mark 
    | Filed under: ,

     02-13-2007, 12:51 PM 1089 in reply to 1039

    Re: Data Exchange Integration with PHP

    Ok, so I can go ahead and build the site using my CMS and just use some code to insert the F1 stuff? From what I've read about Weblink, it doesn't seem to be what I want it to be but please correct me if I'm wrong.

    Take a look at Saddleback's website to see what I want to do:

    https://www.saddlebackfamily.com/home/login/login.asp

    Their site allows you to search/join/manage small groups, do online giving, sign up for classes and also sign up to volunteer for serving. Can I do all this through weblink while still maintaining the look of the site I want to build around it?

    The biggest thing is I want to use a PHP based CMS and not ASP to build the site...

     04-02-2007, 2:06 AM 1357 in reply to 553

    Re: Data Exchange Integration with PHP

    This is really cool, and I have implemented the login, but how do you pass the login/authentication over to the pop up windows so they know the user has already logged in???

     I think I am missing something here. 

    --
    Collin

     04-05-2007, 1:22 AM 1401 in reply to 1357

    Re: Data Exchange Integration with PHP

    Collin:

     All you need to do now  is pass the IndividualCode returned in the request to the popup via query string parameter.

    something like ...page.aspx?cCode=[churchCode]&iCode=[individualCode]

    If the iCode is provided once, it will authenticate the user and persist for the life of the session.  Let me know if you have any questions.

     --Nick

     08-26-2007, 12:55 PM 7774 in reply to 777

    Re: Data Exchange Integration with PHP

    Nick,

    I'm new to the forum and think i have checked all the artilces.... you mentioned you would post additional code libraries a few months ago.

    We are just doing our initial web integration and I have gone thru all the weblink capabilities.  There are several things I would like to workaround using DataExchange.  

     In another post in april, you mentioned that several hundred churches were consuming DE for web integration.  Have any of these churches chosen to make their implementation publicly available?  or does F1 have a reference implementation?

     Thanks,

    Greg

     04-25-2008, 2:34 PM 10619 in reply to 553

    Re: Data Exchange Integration with PHP

    Has any progress been made on a PHP client library? I would be interested in seeing what you have even if it's not finished.
    --
    Jesse Morgan
    jesse@p4square.com
    www.p4square.com

     04-26-2008, 11:41 AM 10643 in reply to 10619

    Re: Data Exchange Integration with PHP

    If you look at the list of tabs on the Experience site you may notice a new one called DEVELOPERS. On there are links to documentation and a full set of client code libraries, including PHP.

    Curtis Simmons
    SVP, Product & Services

     

View as RSS news feed in XML