This is a discussion on getting started PHP+Salesforce within the Salesforce PHP Tutorials forums, part of the Salesforce category; 1.How can I use PHP in Salesforce?
I read something about the
-
getting started PHP+Salesforce
1.How can I use PHP in Salesforce?
I read something about the PHP IDE to develop PHP, but is there an chance to load my own scripts on the Salesforce server or is own webspace necessary ?
And how can I connect to my Salesforce databases / where can I get the login informations for databases?
2.I found this example form in the forum(
http://www.mikesimonds.com/salesforc...ields-t56.html )
....so I need only a special WDSL file and then I can
start (if I have the knowledge from question1
) ?
Thanks a lot again!
The helpless student,
Peter
-

Originally Posted by
scriptagent
1.How can I use PHP in Salesforce?
I read something about the PHP IDE to develop PHP, but is there an chance to load my own scripts on the Salesforce server or is own webspace necessary ?
And how can I connect to my Salesforce databases / where can I get the login informations for databases?
2.I found this example form in the forum(
http://www.mikesimonds.com/salesforc...ields-t56.html )
....so I need only a special WDSL file and then I can
start (if I have the knowledge from question1 ) ?
Thanks a lot again!
The helpless student,
Peter
Peter thanks for joining the site and I hope that I can help you, so let's give it a try:
1) You can use PHP with salesforce to perform almost any action you want with your projects. We currently use PHP to update, insert, and upset(salesforce function) to update all our data in salesforce for accounts, products, pricebooks and custom objects within salesforce. You can use PHP to create data or populate data from an object to a custom object using outbound messaging. You can use PHP to create a complete replication process of your data in Salesforce to a local database such as MySQL or Oracle. We do all these types of functions using PHP.
You will not be able to or would want to store your php scripts on a Salesforce server, they will all reside on your personal server or a company server. We have two servers, one for production and one for development that run Apache, PHP, and MySQL. The PHPToolkit is basically a group of scripts that are a class that is used to communicate with Salesforce's API.
The best way to get started is, and I am assuming that you have a windows PC, to download a free WAMP(windows apache web server for localhost development) and install it on your PC. You can do all the development on your local pc, that is what I do. I use XAMPP and since you are from Germany, here is the link > apache friends - xampp
Once you get that installed, follow the link from my main menu to the PHPToolKit and download it. There are some instructions and examples in the folder system within the zip file that will help you get started. I will also be glad to help you offline get setup
2) Once you have a webserver or localhost installed and have the toolkit installed, you can connect to Salesforce's API using your administrator Salesforce Account. If you want to have a development Salesforce account, which I would suggest, you can sign up for one for FREE > Force.com Developer Edition Sign-Up
The WSDL file can be downloaded right from wihin your Salesforce Account. Once you login to Salesforce, go to Setup > App Setup > Develop > API and you can generate a Partner WSDL file from there and then add that to your localhost or webserver and you can start development
I hope some of this makes sense, It seems like a lot, but it is not really. Let me know if you need any clarification and catch me on Skype anytime
-
hi mike,
first thank you very much for all information!!!
I think I know now, where I have to start...and I knew xampp already, so it's a great thing.
provide the salesforce company any language with server? I don't think,but maybe their own (apex) ?
In the next days/weeks I will work in and then I'll see whats up....thanks for the offering to call you !!
Best, Peter
-
Glad that helped and gave you some sort of direction.
Salesforce built in language is APEX and it is very useful building internal Salesforce applications. You can do almost anything with it, but it does leave you totally dependent on their coding and their application. I say that if I can do it in PHP, I will
I am attending DEV 501 class next week in San Francisco, an APEX and VisualForce class. So I am also new to APEX coding and will post more as I pick it up
I will have a new forum dedicated to APEX coding and tutorials as I learn it
If I find something that works, I will always share it with this community
I hope that if you find something that works, you will do the same
Let me know if you need any help
~Mike
-
Hi mike,
if I have some tutorials, codes...I will post it definitely.
I'm really interesting in PHP, Apex and so on...
But the life is hard, you know, the last days I had to program only Visual Basic 
the intern, pete=)
-
Hi Mike, this thread helped me too - I've just installed xampp yesterday and am exploring the vast world of php scripting. I just wanted to ask though, how did you find the Dev501 course? I was thinking about doing it but I'm still almost a complete beginner to most coding languages. Do you think I'd drown?
Cheers,
Charlotte
-
I found the Dev 501 class really interesting. I believe that if you are new to Salesforce and development it maybe a little bit too much. It is really fast paced and lots of information to take in. I think that there is a Dev 401 class that would better suite your needs.
Thanks for joining the site, I appreciate it and let me know if I can help you with your new found joy of working with Salesforce
~Mike
LinkBacks (?)
-
Hits: 1
11-25-2009, 04:27 PM
-
Hits: 2
03-09-2009, 06:49 AM
-
Hits: 1
03-02-2009, 06:11 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks