Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have created PHP application for company. and company also have ERP. I want to connect my application with ERP. so that employee can login by company's website which is in PHP and can access functionality of ERP. How do I proceed ? Please guide. and also provide some links for development
since you have very broad question and just considering that you need to get information from ERP system on your PHP portal. and i also considering you are the administrator of ERP as well.
ERP (Enterprise Resource Planning) is being provided by different vendors and Major includes Epicor,Infor,Oracle and SAP. All vendors are using Different databases. So for integration you must need to know what database is being used. For Such applications mostly used databases are SQL and Oracle .
After you get the type of database , next step is to know the schema or specific table to get the information. Now Suppose you are getting information from oracle. you can use below connection string.
$dbc = new PDO('oci:dbname=Serveraddress/orcl;charset=CL8MSWIN1251', 'username', 'password');
you can also use the web services like SOAP or REST which ever supported by your ERP to fetch information.
For Specially SAP below link can help you
Intgration of PHP & SAP
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Can someone give me ideas of how the admin managing the school announcements and events of a web portal? Like how they put it in there? is it manually coding? I just started programming php.
If you use pure HTML manually write the code inside the portal .
If instead use PHP is normally integrated with a database in such a way that once created the basic structure ( PHP that reads from Database ) the whole system is dynamic.
Normally if it comes to dynamic sites are used in the CMS that are web applications that interact with the database to enter data (a real data entry)
List of some free CMS:
WordPress
Joomla
concrete5
Drupal
If you are learning you should look at the official documentation for PHP Manual link
And look MySQL which is a great open source database MySQL link
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have just fineshed an apprenticeship in a little company for which I have developed management web application hosted in ARUBA together with mysql DB. Now for my "Mobile application" course I would like to realize an iOS app as a mobile version for that web application: pratically I could create a new frontend as an iOS app. I am supposed to use Swift and I am totally new to iOS development. So I would like to ask if you can give me some tutorials about how to use swift and php to connect to a database and perform CRUD operations. Before suggesting this idea to my teacher I would like to make some practice and see if I am able to create this kind of app.
What do you say?
This course looks promising, though I haven't done it myself, so I'm not sure.
Think of this project in three parts:
Creating your MySQL database
Developing your PHP API to "talk to" the database - this is the mediator between the client and the database
Developing the client code
It sounds like you've done some web development, so can I assume that you know how to do number 1 and 2 above? You can create the PHP almost exactly like you would for a website, and it has a great function (json_encode) to put everything you're sending to the client in JSON. There is a class called NSJSONSerialization to deal with the JSON received on the client end.
Do know that this is a big project; developing all the PHP and Swift code in addition to the database is no small feat.
To accomplish number 3, I would recommend reading up on NSURLSession. This tutorial and this tutorial may be useful.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have a website that I've created using PHP, Mysql, and other (HTML, CSS, etc) and I'm looking into converting the website into a native Iphone App for the app store. I know quite a bit of Objective-C and have used X-code for a couple years but I'm confused about one aspect of it. I've never worked with databases from an app. The database that we have set up is just a good old fashion PHP and Mysql that we connect to. It holds all of the site's users and other information.
Therefore, what should I do about accessing this database on the phone? Is there a way to use Mysql or is there something else that I can use that would interact with the database separately? I know there is SQLite but does that work with Mysql or not?
Any tutorials or guides you could point me to also would be great. Thanks.
The simple answer is: don't connect an iOS app directly to the database. Think about it: you'd be embedding a username and password somewhere in the app's code, which some nefarious user will find a way to extract and exploit.
Much better way to do it: create a simple API on your website, then pass requests from mobile users through the API. Then your server handles all database connections, authentication of users, and so on, and you haven't put your database credentials in the hands of lots of unknown individuals.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm planning to connect an existing php application with Magento, in order to use it's powerful store features. I already have a database with all the user data.
What I need to do is to simplify the ordering process. Think the following scenario:
The user first logs in into my application
Then he goes to the products page
User selects a product and he adds it to the cart
Then he continue his order with Magento
What is the best way to integrate my user database with Magento? How can I make this process work without forcing the user to re-login again? How can I synchronize user data?
What you will require to do is migrate your data to the magento database in order to do this you can have use the following options :
Use CSV Import / Export provided by Magento in the backend admin (where you can get your data in csv format and import it in Magento. http://www.magentocommerce.com/knowledge-base/entry/working-with-product-csv-files
You can use Magento Core API which is meant for third part applications to connect to your system and communicate with it, but you could use it import data aswell. http://www.magentocommerce.com/api/soap/introduction.html
Also you can just start writing your own scripts and do this, in order to do this you will have to delve a lot more into the internal working of magento and understand the codebase.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Ok, I have built a custom CRM web app for a client using PHP and MySQL. The app seems to work really well for them and so I have decided to create a commercial version open to the public.
The basic idea of it is that it takes the data captured from a website and then populates the database with that. At the moment there is simply and insert statement on the front end of the website.
The thing is, I want people to be able to sign up to the service, create an account and customise it themselves to suit their needs. My idea is that once they sign up they would be provided with a form action that submitted to their account when installed on their page.
Regarding tables in the database etc, currently there is simply a customers table as there is only one website using it. If people being to sign up and use the service, do i create a new table for every account? This might be right but it seems a bit silly to me. Or is there a better way of going about this?
Usually, it's better to add a customer_id column, and add a WHERE customer_id=12345 clause to all your MySQL queries. Having a separate table per customer is certainly possible, but it may not scale as nicely.