<?xml version="1.0" encoding="utf-8"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="en">
<title>Where on Earth is Piers?</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/" />
<modified>2010-09-05T19:05:41Z</modified>
<tagline></tagline>
<id>tag:www.piersharding.com,2010:/blog//1</id>
<generator url="http://www.movabletype.org/" version="4.24-en">Movable Type</generator>
<copyright>Copyright (c) 2010, PiersHarding</copyright>

<entry>
<title>Moodle, OAuth, and Google Fusion</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2010/09/moodle_oauth_an.html" />
<modified>2010-09-05T19:05:41Z</modified>
<issued>2010-09-05T18:06:30Z</issued>
<id>tag:www.piersharding.com,2010:/blog//1.86</id>
<created>2010-09-05T18:06:30Z</created>
<summary type="text/plain">Convergence is a strange and reoccurring theme, and it&apos;s happened again from me over the last few months with BI reporting, Moodle, OAuth, and Google. I&apos;ve looked at a few BI (well SAP, Business Objects, and Pentaho) implementations over the...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>moodle</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>Convergence is a strange and reoccurring theme, and it's happened again from me over the last few months with BI reporting, <a href="http://www.moodle.org">Moodle</a>, <a href="http://oauth.net">OAuth</a>, and Google.</p>

<p>I've looked at a few BI (well <a href="http://www.sdn.sap.com/irj/sdn/edw">SAP</a>, <a href="http://en.wikipedia.org/wiki/Crystal_Reports">Business Objects</a>, and <a href="http://www.pentaho.com/">Pentaho</a>) implementations over the years, and one of the things that I have always found frustrating/off putting is what I consider the huge startup costs for such implementations.  This has usually been characterised by expensive infrastructure implementations in both hardware and software coupled with the difficulty that most businesses have in visualising what data they need to have access to, and how it should be most effectively presented.</p>

<p>I've found this dilemma more accute in the <a href="http://www.moodle.org">Moodle</a> world, as the so many of the customers involved are on a very tight to non-existent budget, yet their requirement to analyse Learning Managment System performance data is still there.</p>

<p>A year ago, I concluded that Pentaho was my first choice, for the twin reasons that it's OpenSource (specifically no license fees), and that it has sufficiently good data modelling tools to enable a suite of reports customised to Moodle to be delivered.  While this reduces the cost of delivering a flexible reporting solution for Moodle, it still falls short on a couple of points:</p>

<p>(1) Most people who implement Moodle are not Data Warehousing, or Modelling experts so they are unlikely to be able to sufficiently accurately determine what their requirements are in advance (actually a common business problem, not unique to the Moodle community).<br />
(2) Pentaho, while reasonably straight forward to install, is still another complex piece of software to host - a major barrier to entry for most Moodle implementations.</p>

<p>What I started looking for then, was a set of visualisation tools that could be integrated with Moodles PHP environment - atleast users would then be able to do more complex reporting and analysis.  What I found exceeded my expectations, in the form of a Labs project from Google called <a href="http://tables.googlelabs.com/Home">Fusion Tables</a>.</p>

<p>Fusion Tables is shaping up to be Business Intelligence reporting with the twist of collaborative, and Geo encoding capabilities.  The basic mode is that CSV files of data can be uploaded into a flexible storage engine, datasets can be joined and merged, automatically Geo encoded, and then consumed through a good set of graphical presentation tools.  <a href="http://tables.googlelabs.com/DataSource?dsrcid=197026">Datasets</a> can be shared and collaboratively edited.<br />
<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/bar-chart.xml&up__table_query_url=http://tables.googlelabs.com/gvizdata?tq=select+col0%252Ccol5+from+191509++skip+0+limit+228&up__table_query_refresh_interval=0&w=600&h=400&border=%23ffffff%7C3px%2C1px+solid+%23999999&synd=open&output=js"></script></p>

<p><br />
As Luck would have it that this service is firstly free, and secondly exposed via an SQL-like <a href="http://code.google.com/apis/fusiontables/">API</a> integrated with the standard Google OAuth mechanism.  This makes it attractive as a generic data analysis and reporting tool for a low cost operating environment like Moodle and the education sector.</p>

<p>To test out the theory of all this, I've implemented 3 things:<br />
 * OAuth integration for Moodle including a site, and secret registry<br />
 * A generic Fusion Tables data proxy for Moodle<br />
 * A Gradebook export module that enables the export of the standard gradebook data to Fusion Tables</p>

<p>For the curious, this can be found at Gitorious -<a href="http://gitorious.org/moodle2-oauth/moodle2-oauth"> moodle2-oauth</a>.</p>]]>

</content>
</entry>

<entry>
<title>New release for sapnwrfc PHP and Python</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/08/new_release_for.html" />
<modified>2009-08-27T21:27:18Z</modified>
<issued>2009-08-26T18:43:52Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.85</id>
<created>2009-08-26T18:43:52Z</created>
<summary type="text/plain">Been a busy month, working on the NW SAP RFC connectors. With build help from Menelaos, I now have a working Python build system for Windows on the Python NW RFC Connector as of version 0.07 - this is available...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>general</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>Been a busy month, working on the NW SAP RFC connectors.  With build help from Menelaos, I now have a working Python build system for Windows on the Python NW RFC Connector as of version 0.07 - this is available <a href="http://www.piersharding.com/download/python/sapnwrfc/">here</a>.</p>

<p>Also, with help from Joachim, I've added a static function sapnwrfc_removefunction(&lt;sysid&gt;, &lt;function name&gt;) to the PHP connector that allows the removing of function definitions from the local cache.  this is most useful when developing RFC applications in PHP, as you can modify your RFC definition without having to restart the web server everytime.  This is available from version 0.09 <a href="http://www.piersharding.com/download/php/sapnwrfc/">here</a>.</p>]]>

</content>
</entry>

<entry>
<title>Auth SAML 2.0 for Mahara</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/08/auth_saml_20_fo.html" />
<modified>2009-08-14T20:31:34Z</modified>
<issued>2009-08-14T20:25:49Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.84</id>
<created>2009-08-14T20:25:49Z</created>
<summary type="text/plain">Following on from the SAML 2.0 work that I&apos;ve done recently for Moodle, I thought it was useful to do the same for the Mahara ePortfolio service, while I was in the same space. Details of the first release can...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>catalyst</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>Following on from the SAML 2.0 work that I've done recently for Moodle, I thought it was useful to do the same for the <a href="http://www.mahara.org">Mahara</a> ePortfolio service, while I was in the same space.  Details of the first release can be found <a href="http://wiki.mahara.org/Plugins/Auth/Saml">here</a>, with tested version for both trunk, and 1.1_STABLE.</p>]]>

</content>
</entry>

<entry>
<title>Moodle and SAML 2.0 Web SSO</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/08/moodle_and_saml.html" />
<modified>2009-08-02T20:03:17Z</modified>
<issued>2009-08-02T19:41:44Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.83</id>
<created>2009-08-02T19:41:44Z</created>
<summary type="text/plain">Of late I have been doing a lot of SSO integration work for the NZ Ministry of Education, and during this time I came across an excellent project FEIDE. One of the off shoots of this has been the development...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>moodle</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>Of late I have been doing a lot of SSO integration work for the NZ Ministry of Education, and during this time I came across an excellent project  <a href="http://rnd.feide.no/">FEIDE</a>.  One of the off shoots of this has been the development of a high quality PHP library for SAML 2.0 Web SSO -  <a href="http://rnd.feide.no/simplesamlphp">SimpleSAMLPHP</a>.</p>

<p>For Moodle integration, Erlend Strømsvik of Ny Media AS, developed an authentication plugin, which I've made a number of changes to around configuration options, and  <a href="http://www.moodle.org">Moodle</a> session integration.  This has now been documented and added to Moodle Contrib to give it better visibility to the Moodle community at large.  Documentation is <a href="http://docs.moodle.org/en/AUTHSAML_authentication_plugin">here</a> and the contrib entry is <a href="http://moodle.org/mod/data/view.php?d=13&rid=2574">here</a>.</p>]]>

</content>
</entry>

<entry>
<title>Perl sapnwrfc 0.30</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/06/perl_sapnwrfc_0.html" />
<modified>2009-07-24T03:44:20Z</modified>
<issued>2009-06-27T18:20:41Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.82</id>
<created>2009-06-27T18:20:41Z</created>
<summary type="text/plain">I doing some work for a client recently, I got the opportunity to do some major performance work on sapnwrfc for Perl. The net result is that a number of memory leaks, mainly of Perl values not going out of...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>general</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>I doing some work for a client recently, I got the opportunity to do some major performance work on <a href="http://search.cpan.org/dist/sapnwrfc/">sapnwrfc</a> for Perl.  The net result is that a number of memory leaks, mainly of Perl values not going out of scope properly, have been fixed.</p>

<p>Additionally, I've had some time to put together a proper cookbook style set of examples in the <a href="http://search.cpan.org/dist/sapnwrfc/sapnwrfc-cookbook.pod">sapnwrfc-cookbook</a>.  These examples, while specifically for Perl, are almost identical for sapnwrfc for <a href="http://cheeseshop.python.org/pypi/sapnwrfc/">Python</a>, <a href="http://raa.ruby-lang.org/project/sapnwrfc">Ruby</a>, and <a href="http://www.piersharding.com/download/php/sapnwrfc/">PHP</a> too.</p>]]>

</content>
</entry>

<entry>
<title>Dynamic Weather Map</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/04/dynamic_weather.html" />
<modified>2009-04-26T05:38:45Z</modified>
<issued>2009-04-26T05:29:14Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.81</id>
<created>2009-04-26T05:29:14Z</created>
<summary type="text/plain">I had once seen on a colleague of mines Mac, a weather widget of New Zealand, that gave him an animated view of the weather situation as seen by the satellite passing over. I had not been able to find...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>general</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>I had once seen on a colleague of mines Mac, a weather widget of New Zealand, that gave him an animated view of the weather situation as seen by the satellite passing over.  I had not been able to find this animation on the <a href="http://www.metservice.co.nz">Met Service </a>  website, and was puzzling over where the data was coming from.  Then I realised it was staring me in the face in the <a href="http://www.metservice.co.nz/public/maps/tasman-sea-nz-infrared-series.html">Infrared series</a>. So - in a bit of retro shell script coding, using GET, perl, convert, and gifsicle, I built my own <a href="http://www.piersharding.com/download/weather_anim.gif"><img border="0" src="http://www.piersharding.com/download/weather_anim.gif"/></a>.</p>]]>

</content>
</entry>

<entry>
<title>OpenERP and Pentaho</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/03/openerp_and_pen.html" />
<modified>2009-03-22T23:48:41Z</modified>
<issued>2009-03-22T23:36:15Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.80</id>
<created>2009-03-22T23:36:15Z</created>
<summary type="text/plain">As part of some ongoing investigation work of the potential use of OpenERP, I have had a look into connecting OpenERP with Pentaho. At other times, I have implemented a limited form of Pentaho BI reporting for previous employers, but...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>general</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>As part of some ongoing investigation work of the potential use of <a href="http://www.openerp.com">OpenERP</a>, I have had a look into connecting OpenERP with <a href="http://www.pentaho.org">Pentaho</a>.  At other times, I have implemented a limited form of Pentaho BI reporting for previous employers, but had mostly confined my activities to using the Metadata reporting object designer, which gives users the ability to create their own simple reports which they can generate as html, pdf, or spreadsheet.  This time, I wanted to get to grips with the far more powerful forms of interactive reporting, which meant <a href="http://mondrian.pentaho.org/">Mondrian</a>.</p>

<p>It's not easy getting it up and running (need to setup datasources, build Modrian schemas, design MDX queries, and then implement the xaction),  but once you are there, there is so much potential.  The ability to tune the queries interactively using the Pivot reporting engine, and the drill down features are excellent.</p>]]>

</content>
</entry>

<entry>
<title>OpenERP</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/03/openerp.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2009-03-02T06:06:55Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.79</id>
<created>2009-03-02T06:06:55Z</created>
<summary type="text/plain">As part of my job at Catalyst I&apos;ve been part of a process of evaluating Open Source ERP systems. The first one up is OpenERP and I have to say that I&apos;m pleasantly surprised. Having come from a long term...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>general</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>As part of my job at <a href="http://www.Catalyst.net.nz">Catalyst</a> I've been part of a process of evaluating Open Source ERP systems.  The first one up is <a href="http://www.OpenERP.com">OpenERP</a>  and I have to say that I'm pleasantly surprised.  Having come from a long term SAP background, I'm appreciating the thought that has gone into usability, and intuitiveness of the user experience.  Also - big bonus - it's NOT written in Java, but Python!</p>

<p>Having just finished the Order to Cash cycle, and then followed it through on the Financial reporting. and cost account side, I'm finding that there is nothing missing that I would have expected to find from SAP - I'm excited, as I feel that OpenSource may have finally reached prime time in the ERP world.</p>

<p>Next up will be <a href="http://www.compiere.com">Compiere</a>, which will have to go a long way to win me over I think.</p>

<p>Note: on reflection, I should add that this is in the context of SMB.</p>]]>

</content>
</entry>

<entry>
<title>Kiwi Foo - BaaCamp 09</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/02/kiwi_foo_baacam.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2009-02-16T04:44:28Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.78</id>
<created>2009-02-16T04:44:28Z</created>
<summary type="text/plain">It was a real privilege to have been invited to Kiwi Foo 09, and it certainly didn&apos;t disappoint. The uniqueness largely stems from the courageous forward thinking attitude of the organisers to give the attendees almost no guidance at all...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>general</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>It was a real privilege to have been invited to <a href="http://baacamp.org/">Kiwi Foo 09</a>, and it certainly didn't disappoint.  The uniqueness largely stems from the courageous forward thinking attitude of the organisers to give the attendees almost no guidance at all as to what the format is, and the content to cover.  The net result is informed conversation across the spectrum of problems and opportunities facing New Zealand, and an environment with huge cross-pollination potential for ideas, and creativity.</p>

<p>So - what did I learn?</p>

<p>I spoke to the <a href="http://www.wrightspeed.com/">man</a> who is developing the fastest car in the world<br />
I learnt about solar powering my house<br />
Where the Geek Community thinks we are headed in the current climate <br />
Network Theory<br />
Perl 5.10, and Perl 6<br />
<a href="http://creativefreedom.org.nz/">Section 92A</a><br />
Software in Education<br />
OpenSource advocacy, and how to go main stream<br />
telecommuting<br />
Programming the G1<br />
Irish folk music<br />
Werewolf<br />
and many more things that escape me right now.</p>

<p>Many thanks to the organisers (Nat, Jenine, and Russell), and also to all the other people who attended and helped out, to make it a truly excellent event.<br />
</p>]]>

</content>
</entry>

<entry>
<title>sapnwrfc for PHP - version 0.06</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/02/sapnwrfc_for_ph_1.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2009-02-10T06:06:48Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.77</id>
<created>2009-02-10T06:06:48Z</created>
<summary type="text/plain">This week I&apos;ve burnt some midnight oil, to get some additional features into sapnwrfc for PHP. These are most notably properly named exceptions thrown for connection, and RFC call issues, and activate/deactivate parameter control for RFC calls (very handy if...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>saprfc</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>This week I've burnt some midnight oil, to get some additional features into sapnwrfc for PHP.  These are most notably properly named exceptions thrown for connection, and RFC call issues, and activate/deactivate parameter control for RFC calls (very handy if you want to ignore bulky parameter values).</p>

<p>Download from: http://www.piersharding.com/download/php/sapnwrfc/</p>]]>

</content>
</entry>

<entry>
<title>Moodle Integration with SAP</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/02/moodle_integrat.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2009-02-09T05:16:22Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.76</id>
<created>2009-02-09T05:16:22Z</created>
<summary type="text/plain">Over the last few months I have been working on developing the new SAP NetWeaver RFC SDK compatible PHP connector. The main driver for this is to develop Moodle SAP integration. Finally, I have reached the first step towards that...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>moodle</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>Over the last few months I have been working on developing the new SAP NetWeaver RFC SDK compatible PHP connector.  The main driver for this is to develop Moodle <-> SAP integration.  Finally, I have reached the first step towards that goal with developing mod/auth/sap.</p>

<p>This enables SAP authenticated logins, and the use of SAPs SSO via Logon Tickets.</p>

<p>The module is available at: <a href='http://www.piersharding.com/download/php/' target='blank'>http://www.piersharding.com/download/php/</a>.</p>]]>

</content>
</entry>

<entry>
<title>sapnwrfc for PHP</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2009/01/sapnwrfc_for_ph.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2009-01-27T06:49:48Z</issued>
<id>tag:www.piersharding.com,2009:/blog//1.75</id>
<created>2009-01-27T06:49:48Z</created>
<summary type="text/plain"><![CDATA[In my recent work I've been working in the Education Software area, more specifically LMSs (Learning Managment Systems).&nbsp; As my current employer is a completely Open Source oriented company (yay!), we work with Moodle.Moodle is PHP based, so when it...]]></summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>saprfc</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<p>In my recent work I've been working in the Education Software area, more specifically LMSs (Learning Managment Systems).&nbsp; As my current employer is a completely Open Source oriented company (yay!), we work with <a href="http://www.moodle.org/" target="_blank">Moodle</a>.</p><p>Moodle is PHP based, so when it came to the question of integrating this with SAP, we had a stumbling block.&nbsp; The existing connector is a very good one, but it doesn't give full UNICODE support, and it doens't take advantage of the NetWeaver RFC SDK such as complex structures, and strings.</p><p>To this end I've written sapnwrfc for PHP.</p><p>You can download sapnwrfc from <a href="http://www.piersharding.com/download/php/sapnwrfc/" target="_blank">here</a>.</p><p>Follow the INSTALL instructions, and here is a bit of a taster:</p><pre>&nbsp;&lt;?php<br />dl(&quot;sapnwrfc.so&quot;);<br />echo &quot;sapnwrfc version: &quot;.sapnwrfc_version().&quot;\n&quot;;<br />echo &quot;nw rfc sdk version: &quot;.sapnwrfc_rfcversion().&quot;\n&quot;;<br />$config = array('ashost' =&gt; 'ubuntu.local.net',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'sysnr' =&gt; &quot;01&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'client' =&gt; &quot;001&quot;,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'user' =&gt; 'developer',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'passwd' =&gt; 'developer',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'lang' =&gt; 'EN',<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'trace' =&gt; '1' );<br /><br />// we must have a valid connection<br />try {<br />&nbsp;&nbsp;&nbsp; $conn = new sapnwrfc($config);<br />&nbsp;&nbsp;&nbsp; $fds = $conn-&gt;function_lookup(&quot;STFC_DEEP_STRUCTURE&quot;);<br />&nbsp;&nbsp;&nbsp; $fdt = $conn-&gt;function_lookup(&quot;STFC_DEEP_TABLE&quot;);<br />&nbsp;&nbsp;&nbsp; $parms = array('IMPORTSTRUCT' =&gt; array('I' =&gt; 123, 'C' =&gt; 'AbCdEf', 'STR' =&gt; 'The quick brown fox ...'));<br />&nbsp;&nbsp;&nbsp; $results = $fds-&gt;invoke($parms);<br />&nbsp;&nbsp;&nbsp; var_dump($results);<br />&nbsp;&nbsp;&nbsp; $parms = array('IMPORT_TAB' =&gt; array(array('I' =&gt; 123, 'C' =&gt; 'AbCdEf', 'STR' =&gt; 'The quick brown fox ...')));<br />&nbsp;&nbsp;&nbsp; $results = $fdt-&gt;invoke($parms);<br />&nbsp;&nbsp;&nbsp; var_dump($results);<br />&nbsp;&nbsp;&nbsp; $conn-&gt;close();<br />}<br />catch (Exception $e) {<br />&nbsp;&nbsp;&nbsp; echo &quot;Exception message: &quot;.$e-&gt;getMessage();<br />&nbsp;&nbsp;&nbsp; throw new Exception('Assertion failed.');<br />}<br /></pre>
<p>&nbsp;sapnwrfc is a work in progress, so testing and feedback is welcome. </p><p>A discussion has been started in the forums <a href="https://forums.sdn.sap.com/thread.jspa?threadID=1208671&amp;tstart=0" target="_blank">here</a>. </p>]]>

</content>
</entry>

<entry>
<title>sapnwrfc for Python</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2007/05/sapnwrfc_for_py.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2007-05-10T17:27:59Z</issued>
<id>tag:www.piersharding.com,2007:/blog//1.74</id>
<created>2007-05-10T17:27:59Z</created>
<summary type="text/plain">The first version of sapnwrfc for Python is now available. Like the sapnwrfc for Ruby, and Perl, this is a complete rewrite to take advantage of the new SAP NW RFCSDK, with unicode support, and support for deep structures. This...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>saprfc</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[The first version of sapnwrfc for Python is now available.  Like the sapnwrfc for Ruby, and Perl, this is a complete rewrite to take advantage of the new SAP NW RFCSDK, with unicode support, and support for deep structures.  This version provides Client side RFC support only.  The download is available <a href='http://cheeseshop.python.org/pypi/sapnwrfc/' target='_blank'>here</a>]]>

</content>
</entry>

<entry>
<title>NW RFC SDK is now officially available</title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2007/05/nw_rfc_sdk_is_n.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2007-05-09T19:49:04Z</issued>
<id>tag:www.piersharding.com,2007:/blog//1.73</id>
<created>2007-05-09T19:49:04Z</created>
<summary type="text/plain">The new SAP NW RFCSDK The new SAP NetWeaver RFCSDK is now available for official download - this opens the way for supported next generation Open Source Connectors such as sapnwrfc for Perl, and sapnwrfc for Ruby. Where to get...</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>sap</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<h2>The new SAP NW RFCSDK</h2>
<p>
The new SAP NetWeaver RFCSDK is now available for official download - this opens the way for supported next generation Open Source Connectors such as <a href="http://search.cpan.org/search?dist=sapnwrfc" target="_blank">sapnwrfc</a> for <a href="http://www.perl.org" target="_blank">Perl</a>, and <a href="http://raa.ruby-lang.org/project/sapnwrfc" target="_blank">sapnwrfc</a> for <a href="http://www.ruby-lang.org" target="_blank">Ruby</a>.
</p>
<h2>Where to get it?</h2>
<p>
You need to go to the SAP service Portal <a href="http://service.sap.com/swdc">for Software downloads</a>, and follow the path of:
Download -&gt; Support Packages and Patches                                          
-&gt; Entry by Application Group -&gt; Additional Components  -&gt; SAP NW RFC                                            
SDK -&gt; SAP NW RFC SDK 7.10 -&gt; SAP NW RFC SDK 7.10                  .
</p>
<p>
There is an accompanying   OSS note:    <a href="https://service.sap.com/sap/support/notes/1025361" target="_blank">                                      
 1025361</a>.
</p>
<p>
<h2>Impact on Connectors</h2>
As mentioned in a 
<a href="https://weblogs.sdn.sap.com/cs/weblog/view/wlg/5827" target="_blank">previous blog</a> (but so much better in Ulrichs' <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6528" target="_blank">blog</a>), the new NW RFCSDK not only updates the implementation of the library that all 3rd party products use, but it also provides a better interface to develop to, and exposes several key features such as Unicode, and complex structures.</p>
<p>
Clearly - this is SAPs way forward in the RFC area of closely bound system integration, so all existing connectors  (and 3rd party products) will eventually have to migrate to it.
</p>
<p>
This is also true of code that is based on the existing connectors for Perl and Ruby.  For Perl - there will be a migration from SAP::Rfc -&gt; sapnwrfc, and likewise for Ruby moving from saprfc -&gt; sapnwrfc  (The client side implementation for the new sapnwrfc connector for Python is nearly finished, with the same implications).
</p>
<p>
My thanks and congratulations go out to the SAP NW RFC Team (NW AS ABAP Connectivity) - through their efforts, and willingness to engage the community, they have made it possible for us frustrated hackers to have a little more fun :-)
</p>]]>

</content>
</entry>

<entry>
<title>sap4rails updated to support new sapnwrfc </title>
<link rel="alternate" type="text/html" href="http://www.piersharding.com/blog/archives/2007/03/sap4rails_upgra.html" />
<modified>2009-03-21T11:47:13Z</modified>
<issued>2007-02-28T19:39:45Z</issued>
<id>tag:www.piersharding.com,2007:/blog//1.72</id>
<created>2007-02-28T19:39:45Z</created>
<summary type="text/plain">sap4rails has been upgraded to support the new RFC Connector for Ruby - sapnwrfc....</summary>
<author>
<name>PiersHarding</name>
<url>http://www.piersharding.com</url>
<email>piers@ompka.net</email>
</author>
<dc:subject>saprfc</dc:subject>
<content type="text/html" mode="escaped" xml:lang="en" xml:base="http://www.piersharding.com/blog/">
<![CDATA[<a href='http://raa.ruby-lang.org/project/sap4rails' target='_blank'>sap4rails</a> has been upgraded to support the new RFC Connector for Ruby - <a href='http://raa.ruby-lang.org/project/sapnwrfc' target='_blank'>sapnwrfc</a>.]]>

</content>
</entry>

</feed>