Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
1
Driving a PHP Application with
MultiValue Data
Dorien Michael Gardner, Solution Engineer
2
Abstract
 This session’s focus is to provide insight on how to leverage the popular
server side language of PHP to inte...
3
Agenda
What is PHP?
PHP development environment
Demo environment
Consuming Web Services in D3 with PHP
Consuming We...
4
What is PHP?
 PHP hypertext preprocessor
 Developed in 1995 by Rasmus Lerdorf
 Made popular by Mark Zuckerberg with F...
5
What is PHP?
Why develop in PHP?
• Short learning curve
• You can build dynamic web pages quickly
• Works well with Web...
6
What is PHP?
Why not develop in PHP?
• Other languages have become increasingly popular
 Python, Node.js, Angular.js e...
7
PHP Architecture
©2015 Rocket Software, Inc. All Rights Reserved.
MV REST Server
MV DB Server
Web Server
Mobile/Web/Tabl...
8
PHP Development?
What can PHP create?
• Websites and web applications (server-side scripting)
• Command line scripting
...
9
PHP Development?
MVC Frameworks
• Laravel
• CodeIgniter
• CakePHP
• Symfony
• Zend
• Lithium
©2015 Rocket Software, Inc...
10
Demo Environment
Windows 7
Windows xampp -win32-5.6.3-0-VC11
• Curl 7.43
Bluefish or Notepad ++
UniVerse 11.2.4
D3...
11
SOAP vs REST
• Simple Object Access Protocol
 Only uses XML that tends to be overly verbose
 Requires SOAP Envelope a...
12
Code Review
13
Additional Resources
 Where you can get further information
 PHP site: http://php.net/
 PHP source code and binary d...
14
Next Steps
 Install the U2 Client Applications
• U2 RESTful Web Services
• Web Services Developer (SOAP)
 For D3 inst...
15
Summary
PHP is an easy scripting language for writing server-
side web development
It has a robust community
Easy to...
16
Disclaimer
THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY.
WHILE EFFORTS WE...
17
Trademarks and Acknowledgements
The trademarks and service marks identified in the following list are the exclusive pro...
18
Upcoming SlideShare
Loading in …5
×

Driving a PHP Application with MultiValue Data

226 views

Published on

This session’s focus is to provide insight on how to leverage the popular server side language of PHP to interface with your U2 or D3 MultiValued database. Learn how to call and consume Web Services content in an easy to learn web development language.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Driving a PHP Application with MultiValue Data

  1. 1. 1 Driving a PHP Application with MultiValue Data Dorien Michael Gardner, Solution Engineer
  2. 2. 2 Abstract  This session’s focus is to provide insight on how to leverage the popular server side language of PHP to interface with your U2 or D3 MultiValued database. Learn how to call and consume Web Services content in an easy to learn web development language. ©2015 Rocket Software, Inc. All Rights Reserved.
  3. 3. 3 Agenda What is PHP? PHP development environment Demo environment Consuming Web Services in D3 with PHP Consuming Web Services in U2 with PHP Resources ©2015 Rocket Software, Inc. All Rights Reserved.
  4. 4. 4 What is PHP?  PHP hypertext preprocessor  Developed in 1995 by Rasmus Lerdorf  Made popular by Mark Zuckerberg with Facebook  Who uses PHP? • Facebook, WordPress, Yahoo!, YouTube, Wikipedia, Flickr, Zynga, (approximately 39% of all domains) • As of January 2013 over 240 million web sites, hosted on over 2.1 million servers ©2015 Rocket Software, Inc. All Rights Reserved.
  5. 5. 5 What is PHP? Why develop in PHP? • Short learning curve • You can build dynamic web pages quickly • Works well with Web Services and MV databases • Available resources on the Web • Very easy to deploy • A large developer resource pool ©2015 Rocket Software, Inc. All Rights Reserved.
  6. 6. 6 What is PHP? Why not develop in PHP? • Other languages have become increasingly popular  Python, Node.js, Angular.js etc. • The language is fraught with quirks and inconsistencies • Is better for building web sites than complex web applications ©2015 Rocket Software, Inc. All Rights Reserved.
  7. 7. 7 PHP Architecture ©2015 Rocket Software, Inc. All Rights Reserved. MV REST Server MV DB Server Web Server Mobile/Web/Tablet HTML JavaScript
  8. 8. 8 PHP Development? What can PHP create? • Websites and web applications (server-side scripting) • Command line scripting • Desktop (GUI) applications Development • Procedural or “Object Oriented” • Can be embedded directly in HTML <?php?> • Loosely Typed Language ©2015 Rocket Software, Inc. All Rights Reserved.
  9. 9. 9 PHP Development? MVC Frameworks • Laravel • CodeIgniter • CakePHP • Symfony • Zend • Lithium ©2015 Rocket Software, Inc. All Rights Reserved.
  10. 10. 10 Demo Environment Windows 7 Windows xampp -win32-5.6.3-0-VC11 • Curl 7.43 Bluefish or Notepad ++ UniVerse 11.2.4 D3 9.2.2 ©2015 Rocket Software, Inc. All Rights Reserved.
  11. 11. 11 SOAP vs REST • Simple Object Access Protocol  Only uses XML that tends to be overly verbose  Requires SOAP Envelope and brings its own protocol  Focuses on exposing pieces of Application Logic not data as services  Cannot cache READS • Representational State Transfer  True Web Service based on standard HTTP  Much simpler to use  Handles multiple formats  JSON is usually better for data and parses faster  Better performance and scalability  READS can be cached
  12. 12. 12 Code Review
  13. 13. 13 Additional Resources  Where you can get further information  PHP site: http://php.net/  PHP source code and binary distributions for Windows can be found at http://www.php.net/downloads.php. They recommend you to choose a mirror nearest to you for downloading the distributions.  Xampp: https://www.apachefriends.org/download.html  U2 and D3 sample code: https://github.com/RocketSoftware ©2015 Rocket Software, Inc. All Rights Reserved.
  14. 14. 14 Next Steps  Install the U2 Client Applications • U2 RESTful Web Services • Web Services Developer (SOAP)  For D3 install the MVSP and MVS Toolkit  Install PHP support for your web server • Xampp is a complete Apache bundle with PHP included  Create a small prototype project  Research and identify a PHP framework if you decide to do production development ©2015 Rocket Software, Inc. All Rights Reserved.
  15. 15. 15 Summary PHP is an easy scripting language for writing server- side web development It has a robust community Easy to consume and work with U2 and D3 data ©2015 Rocket Software, Inc. All Rights Reserved.
  16. 16. 16 Disclaimer THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. IN ADDITION, THIS INFORMATION IS BASED ON ROCKET SOFTWARE’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY ROCKET SOFTWAREWITHOUT NOTICE. ROCKET SOFTWARE SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION. NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, OR SHALL HAVE THE EFFECT OF: • CREATING ANY WARRANTY OR REPRESENTATION FROM ROCKET SOFTWARE(OR ITS AFFILIATES OR ITS OR THEIR SUPPLIERS AND/OR LICENSORS); OR • ALTERING THE TERMS AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT GOVERNING THE USE OF ROCKET SOFTWARE. ©2015 Rocket Software, Inc. All Rights Reserved.
  17. 17. 17 Trademarks and Acknowledgements The trademarks and service marks identified in the following list are the exclusive properties of Rocket Software, Inc. and its subsidiaries (collectively, “Rocket Software”). These marks are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. Not all trademarks owned by Rocket Software are listed. The absence of a mark from this page neither constitutes a waiver of any intellectual property rights that Rocket Software has established in its marks nor means that Rocket Software is not owner of any such marks. Aldon, CorVu, Dynamic Connect, D3, FlashConnect, Pick, mvBase, MvEnterprise, NetCure, Rocket, SystemBuilder, U2, U2 Web Development Environment, UniData, UniVerse, and wIntegrate Other company, product, and service names mentioned herein may be trademarks or service marks of others. ©2015 Rocket Software, Inc. All Rights Reserved.
  18. 18. 18

×