Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 806585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:15:58+00:00 2026-05-15T00:15:58+00:00

I’ve got a scenario where we have a customer who has a linux hosted

  • 0

I’ve got a scenario where we have a customer who has a linux hosted php app (joomla) that they wish to integrate with some back-end asp.net mvc functionality that was created for a ‘sister’ site. Basically, the mvc site has prices and stock availability methods which (in the sister site) populates dropdown lists and other ‘order’ style info on the pages. I’ve been tasked with looking at the integration options to allow the php site to use this info as a ‘service’. (as ever, these guys are looking at cost of ownership, maintenence etc, so this is their preferred route)

Has anyone done anything similar with success?? I’d imagine (much like the sister site) liberal doses of ajax will be employed in order to populate portions of the page on demand. So this may have a bearing on any suggestions that you may have. Also, the methods that are being called ultimately end up populating the same database, so there are no issues with correlating the ID’s across the different platforms.

I don’t really want to go down any ‘iframe’ type route if at all possible, tho’ reality may dictate this as being an option. I’m possibly (naively) imagining that i could simply invoke the mvc functions directly from the php app with some sort of ‘session’ variable being passed for authentication.

pretty tall order or pretty straightfwd??

cheers

jim

[edit] – tho highly unlikely to be implemented due to the existing structure of the joomla site, would the use of an openID account help to ‘glue’ the two sites together??

also, found this little article that ‘may’ go some way twds what I’m thinking of:
http://www.jeffancel.com/archive/2009/04/05/70.aspx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:15:58+00:00Added an answer on May 15, 2026 at 12:15 am

    If authentication is a factor, you could use an API KEY to tell the .net application who you are, also, they can add filters that would only allow consumption from certain resources. From PHP, there are a couple ways that you can consume .net services as I have done it several times. If you call from the server side (actual PHP), then you would want them to expose the data you are consuming in xml or json; so you can parse it in PHP and use it the way you want to. Here are a couple routes I can suggest:

    1.) Ajax or request into your PHP application, which in turn uses PHP to consume the services from your sister site; in worst case scenario, you may have to parse html directly, though I would suggest having them open up the XML or JSON object using a RESTful service (this is a fairly easy modification if you don’t mind adding a couple of methods in your controller).

    2.) Ajax using a jsonp request to grab an html widget from the site that you are communicating with. This would require some work by the sister site as well, but it is very doable. If you go this route, then they must make the cross domain changes that I mentioned in that post (though that is .net mvc 1.0).

    In the end, it boils down to your specific requirements as to what you would choose. I personally choose route 1 and consume most services from the server side as it can abstract things such as API-Keys and other things I don’t want the users to see. It is also easier to deal with XML from PHP rather than javascript because of the individual browser behaviors (ie versus firefox et al.).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I want to count how many characters a certain string has in PHP, but
That's pretty much it. I'm using Nokogiri to scrape a web page what has
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I'm trying to create an if statement in PHP that prevents a single post
I am using Paperclip to handle profile photo uploads in my app. They upload
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.