<?xml version="1.0" ?>

<kc>

<title>GNUe Traffic</title>

<editor contact="mailto:psu@burdonvale.co.uk">Peter Sullivan</editor>

<issue num="83" date="31 May 2003 00:00:00 -0800" />

<intro>
  This covers the three main mailing lists for the 
  <a href="http://www.gnuenterprise.org">GNU Enterprise</a> 
  project, plus the #gnuenterprise IRC channel.
</intro>

<section 
   title="Native Microsoft Windows UI driver for Forms"
   subject="[IRC] 24 May 2003" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.24May2003"    
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"    
   startdate="24 May 2003 04:00:00 -0800" 
   enddate="26 May 2003 04:00:00 -0800">

<topic>Forms</topic>
<topic>Common</topic>
<topic>Reports</topic>

<mention>ra3vat</mention>

<p>Bajusz Tam&#0225;s (btami) felt that <quote who="Bajusz Tam&#0225;s">the 
win32 forms driver is ready for a 0.5.1 release</quote> but would welcome 
some more testing. As of time of writing, wxPython was still the default 
user interface, but <quote who="Bajusz Tam&#0225;s">you can use --ui win32 
, if you don't want wx for login</quote>. The next stage in Microsoft 
Windows compatability would be to add <quote who="Bajusz Tam&#0225;s">a GDI 
report filter</quote> to reports - many cheap "Windows-only" printers 
<quote who="Bajusz Tam&#0225;s">talk only GDI</quote> with no other 
printer control language - <quote who="Bajusz Tam&#0225;s">and unfortunately 
they are getting popular</quote>. Dmitry Sorokin (ra3vat) reported that 
<quote who="Dmitry Sorokin">dropdown boxes looks thicker then regular entries, 
is that mandatory look&amp;feel for them?</quote> He and Tam&#0225;s traded 
screenshots, and discovered that it depended what point size you were using 
for the characters. Tam&#0225;s concluded <quote who="Bajusz Tam&#0225;s">i see 
the problem, but i think this is not a gnue,wx problem, but gui in general, if
you got it on linux too</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.24May2003">
Two days later</a>, Dmitry felt <quote who="Dmitry Sorokin">it can't be a bug 
in widget library</quote>. Tam&#0225;s disagreed - 
<quote who="Bajusz Tam&#0225;s">with pointSize=10 you will see, qt is OK 
!</quote> which implied it was not the GNUe code causing the problem - 
<quote who="Bajusz Tam&#0225;s">you will see, that the problem disappears with 
higher pointsizes</quote> Dmitry asked <quote who="Dmitry Sorokin">what do you 
think could be done to solve this for smaller pointsizes?</quote> Tam&#0225;s
suggested <quote who="Bajusz Tam&#0225;s">finish qt driver :)</quote>, but 
Dmitry did <quote who="Dmitry Sorokin">not understand how qt is better than 
native win32 for windows?</quote> Tam&#0225;s thought their 
<quote who="Bajusz Tam&#0225;s">gui toolkit (qt), is independent from standard 
win32 gui API</quote>.</p>

</section>


<section 
   title="Default RPC type for Application Server"
   subject="[IRC] 26 May 2003" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.26May2003"    
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"    
   startdate="26 May 2003 04:00:00 -0800" 
   enddate="26 May 2003 04:00:00 -0800">

<topic>Application Server</topic>

<p>Reinhard M&#252;ller (reinhard) noted that, in the Application 
Server code, <quote who="Reinhard M&#252;ller">currently, the default 
for rpctype is "pw_xmlrpc" - could we change that to "xmlrpc"?</quote>
This was the normal Remote Procedure Call (RPC) method in the Debian 
stable distribution of GNU/Linux. He noted that this defult would only 
apply where <quote who="Reinhard M&#252;ller">no config file exists (or 
the option is not mentioned in config file)</quote>. Jan Ischebeck (siesel) 
recommended leaving <quote who="Jan Ischebeck">the pw_xmlrpc driver as 
default option, because its the only one working on windows in server 
mode and its included in the default python distro</quote> - 
<quote who="Jan Ischebeck">new in python 2.2 ;)</quote>. Reinhard 
noted he was currently using python 2.1 - he was torn between having 
a default that did not work on Debian stable and having a default that 
did not work on Microsoft Windows. Jan suggested 
<quote who="Jan Ischebeck">what about a fall back list</quote>? 
Reinhard was not sure how this would work. Jan said that this would be 
similar to the fall back mechanism already in the database drivers.
Jason Cater (jcater) explained <quote who="Jason Cater">0.5.0 introduced 
a fallback mechanism - if you say provider=oracle it tries the</quote>
various Oracle database drivers in turn - <quote who="Jason Cater">likewise 
w/postgres, etc - it may not be working perfectly as this was the first 
release</quote>. Reinhard thought it sounded like this could be used 
<quote who="Reinhard M&#252;ller">for rpc driver fallback</quote> as 
well.</p>

</section>


<section 
   title="Updates and inserts on multiple lists in AppServer"
   subject="[IRC] 26 May 2003" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.26May2003"    
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"    
   startdate="26 May 2003 04:00:00 -0800" 
   enddate="26 May 2003 04:00:00 -0800">

<topic>Application Server</topic>

<p>Reinhard M&#252;ller (reinhard) noted <quote who="Reinhard M&#252;ller">in 
appserver i can request a list of objects - i can have two lists "open" at 
the same time for the same class</quote>. But 
<quote who="Reinhard M&#252;ller">now our current definition is that for 
updating and inserting data - we don't tell which list should be affected by 
that transaction</quote>. He suggested various possibilities - no lists 
affected, all lists affected, all lists that 'fit' affected, or 
<quote who="Reinhard M&#252;ller">we add a parameter to tell which list 
should be affected</quote>. Jan Ischebeck (siesel) asked what the difference 
between the second and third options was. Reinhard gave an example - 
<quote who="Reinhard M&#252;ller">list 1 has all german customers - and list 
2 has all u.s. customers</quote> - if <quote who="Reinhard M&#252;ller">i 
add a german customer</quote> then the second option 
<quote who="Reinhard M&#252;ller">means the new record is visible in both 
lists</quote> - the third option <quote who="Reinhard M&#252;ller">means 
the new record is only visible in list 1</quote>.</p>

<p>Jan felt that neither 
of the first two options <quote who="Jan Ischebeck">really make 
sense</quote>. Reinhard noted that the fourth option 
<quote who="Reinhard M&#252;ller">is by far the easiest to implement - 
as it is exactly what common's dbdriver's do</quote>. Reinhard and Jan 
discussed the pros and cons of the various options.</p>

<p>Reinhard felt that the first option <quote who="Reinhard M&#252;ller">is 
close to unusable in pracice - because when i enter a new record i want 
to see it after i'm finished entering it :)</quote> Jan disagreed, as 
<quote who="Jan Ischebeck">the record is stored on client side till an 
COMMIT - If a commit happens, the new record is inserted (remote) and its 
new gnue_id should be added to its representation in the local 
cache</quote>. However, Reinhard pointed out that 
<quote who="Reinhard M&#252;ller">after the commit the record stays in 
the list on client side, doesn't it? and it would disappear on server 
side - so client list and server list will be out of sync - which could 
lead to a mess when for example fetching further (previously unfetched) 
records</quote>. He still preferred the fourth option, even if 
<quote who="Reinhard M&#252;ller">form's dbdriver could "hide" the 
drawbacks of</quote> the first option.</p>

<p>Jan did not like the fourth 
option, as <quote who="Jan Ischebeck">it makes our simple API too 
complicated</quote>. He preferred the third option, but Reinhard felt 
this would cause similar problems with keeping client and server 
in sync to the first option, and <quote who="Reinhard M&#252;ller">there 
might be states where the "original conditions" aren't even defined - for 
example when you just opened a form and inserted a record without 
selecting something first</quote>. Jan noted that the nearest equivalent 
to this "multiple list" problem in a normal relational 
database to this was a cursor - and <quote who="Jan Ischebeck">I had 
a look in the postgres user manual and there is no way to 
insert a record into a cursor or remove a record from a cursor</quote>. 
Reinhard concluded that this meant the first option was 
<quote who="Reinhard M&#252;ller">exactly what a pure database would 
do</quote> - but he felt that <quote who="Reinhard M&#252;ller">we at 
least want to be _better_ than a database :-)</quote>. He suggested 
reconsidering this later.</p>

</section>


<section 
   title="XSLT and GNUe Reports"
   subject="[IRC] 27 May 2003" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.27May2003"    
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"    
   startdate="27 May 2003 04:00:00 -0800" 
   enddate="27 May 2003 04:00:00 -0800">

<topic>Reports</topic>

<mention>Nick Rusnov</mention>
<mention>Bajusz Tam&#0225;s</mention>
<mention>Christian Selig</mention>

<p>Jan Ischebeck (siesel) noted that <quote who="Jan Ischebeck">there are 
some pysablot packages which are required for gnue reports</quote>. 
Jason Cater (jcater) said that Nick Rusnov (nickr) had done some 
unofficial Debian packages for pysablot (a utility to allow python 
programs such as GNUe to access the Sablotron XML programs), but these 
could not be uploaded as offical Debian packages as 
<quote who="Jason Cater">we were waiting for license clarification upstream, 
iirc</quote>. However, <quote who="Jason Cater">pysablot is only required 
for the demo stuff - all the new stuff doesn't need it</quote>. Jan 
asked <quote who="Jan Ischebeck">about the other sablotron wrappers for 
python</quote>, noting that he had <quote who="Jan Ischebeck">tried reports 
doing pdf export with reportlab, great stuff :)</quote> Jason was not 
keen - <quote who="Jason Cater">we tried it</quote>. Jeff Bailey (jbailey)
suggested <quote who="Jeff Bailey">using something else like 
<a href="http://xmlsoft.org/XSLT/python.html">
http://xmlsoft.org/XSLT/python.html</a></quote>. Jason had not seen 
this, but pointed out that <quote who="Jason Cater">the xslt processor for 
reports is pluggable - i.e., someone just needs to wrap that package and 
reports supports it</quote>. Jeff thought this might already have been 
done.</p>

<p>Christian Selig (lupo) wondered why Jason was not keen on XSLT generally
for GNUe Reports. Jason said that <quote who="Jason Cater">the idea behind 
using xslt in the first place was that non-programmers could do their 
own</quote> output filters, but <quote who="Jason Cater">after doing several 
ourselves, I don't think that's a reasonable goal</quote> - 
<quote who="Jason Cater">xslt is great for going from xml --&gt; some other 
xml-like format - but going from xml to text, postscript, pcl, etc is using 
the wrong tool imho</quote>.</p>

<p>Jan asked whether <quote who="Jan Ischebeck">the native pdf / ps creation 
of reports</quote> was <quote who="Jan Ischebeck">working already? /me wants 
to printout some tables with chinese characters, and its possibly easier to 
tweak the native ps creation algorithm than to tweak reportlab</quote>. 
Jason was not sure - he thought Bajusz Tam&#0225;s (btami) had 
<quote who="Jason Cater">added some native ps generation</quote> but Jason 
himself was now <quote who="Jason Cater">working on the next generation markup 
- based on styles, etc</quote>. However,<quote who="Jason Cater">it's got a 
ways to go before useful</quote> and he was concentrating on Designer at the 
moment. But he noted that <quote who="Jason Cater">reports can output docbook 
directly - I've been meaning to add an example report to that effect - but 
I'm having to learn docbook at the same time</quote>.</p>

</section>


<section 
   title="GNUe Schema Defintion files and W3 Standards"
   subject="[GNUe-dev] xml schema"
   archive="http://mail.gnu.org/archive/html/gnue-dev/2003-05/msg00005.html"
   posts="5"
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"    
   startdate="28 May 2003 01:06:26 -0800"
   enddate="28 May 2003 09:36:04 -0800">

<topic>Common</topic>

<p>Warren Turkal wondered <quote who="Warren Turkal">Why is this project 
developing their own schema language instead of using the 
W3 standard XML Schema language?</quote> Derek Neighbors noted there 
was <quote who="Derek Neighbors">x-forms W3 standard as well</quote>. 
Much of GNUe's initial work on its own formats predated these standards, 
and if GNUe did use them <quote who="Derek Neighbors">you have no say 
what so ever unless you are willing to pay big corporate money to sit 
on the board</quote> - obviously impracticable for a free software 
project like GNUe. Jason Cater added <quote who="Jason Cater">Also, 
the XML Schema defines a heirarchial-based schema, whereas our
goal is to create a simplified relational schema without much of a
learning curve. XML Schema is well-suited for replacing DTDs, but I
don't think defining relational databases is a good fit.</quote>
Christian Selig agreed - <quote who="Christian Selig">It is not the 
right thing for describing databases, because we rely on relational 
ones (currently, and I don't think that will change till way past 
1.0).</quote> Leandro Dutra hoped <quote who="Leandro Dutra">that will 
never change! I really can't imagine anything I would not do with a 
relational database.</quote></p>

</section>

</kc>