<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.7.6(BH)" -->
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>User forum</title>
        <description></description>
        <link>http://www.midgard-project.org/discussion/user-forum/</link>
        <lastBuildDate>Sat, 31 Jul 2010 04:13:30 +0000</lastBuildDate>
        <generator>FeedCreator 1.7.6(BH)</generator>
        <item>
            <title>Re: Help: after pear upgrade Midgard stopped working</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/84ed90fe94ce11df80cbe7de7f93f4b2f4b2/</link>
            <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;I'm running Midgard 8.09 on Debian Lenny (installed from source) and it went fine until i decided to run a &quot;pear upgrade&quot; yesterday..&lt;/p&gt;
  
  &lt;p&gt;afterwards I couldn't reach my Midgard-site because of an Error:500 DB Class Loader: Classes from file /usr/share/php/midcom/lib/midcom/config/core_classes.inc couldn't be registered.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This sounds like you have a different configuration for PEAR's Role_MgdSchema and Midgard itself. One expects to place MgdSchemas to &lt;code&gt;/usr/share/midgard/schema&lt;/code&gt;, and the other to find them from &lt;code&gt;/usr/local/share/midgard/schema&lt;/code&gt; (or whatever prefix you used when building Midgard).&lt;/p&gt;

&lt;p&gt;You can check this by looking at those directories, and running &lt;code&gt;pear config-show&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;/Bergie&lt;/p&gt;
</description>
            <author>Henri Bergius</author>
            <pubDate>Wed, 21 Jul 2010 13:47:35 +0000</pubDate>
        </item>
        <item>
            <title>Help: after pear upgrade Midgard stopped working</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/6b138ad6911711df869d13d95adb33613361/</link>
            <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I'm running Midgard 8.09 on Debian Lenny (installed from source)
and it went fine until i decided to run a &quot;pear upgrade&quot; yesterday..&lt;/p&gt;

&lt;p&gt;afterwards I couldn't reach my Midgard-site because of an 
&lt;strong&gt;Error:500&lt;/strong&gt;
DB Class Loader: Classes from file /usr/share/php/midcom/lib/midcom/config/core_classes.inc couldn't be registered.&lt;/p&gt;

&lt;p&gt;I've skimmed the logfiles (not yet set to debug) but found nothing helpful. Can anyone point me to a solution???&lt;/p&gt;

&lt;p&gt;Thanks in advance,&lt;/p&gt;

&lt;p&gt;Alex&lt;/p&gt;

&lt;p&gt;PS: I've been with midgard for years (basically the whole midgard1-era) but lost track the last years and now I try to get up-to-date. Expect more stupid questions to come once I've got my midgard back working ;)&lt;/p&gt;
</description>
            <author>Alexander Schuster</author>
            <pubDate>Fri, 16 Jul 2010 20:19:21 +0000</pubDate>
        </item>
        <item>
            <title>[Announcement] Midgard2 10.05.1 &quot;Ratatoskr&quot; LTS released</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/a15df35e7e0911dface5c78077dbcfeccfec/</link>
            <description>&lt;p&gt;Lodz, June 22nd 2010 -- The Midgard Project has released the first maintenance 
release of Midgard2 10.05.1 &quot;Ratatoskr&quot; LTS.
Ratatoskr LTS is a Long Term Support version of Midgard2 Content Repository.&lt;/p&gt;

&lt;h2&gt;About 10.05 releases&lt;/h2&gt;

&lt;p&gt;Midgard2 10.05 is targeted at web framework and desktop application
developers. It provides a comprehensive set of content repository APIs
that can be used to build replicated information applications that share
their information using a common storage layer and replication tools.&lt;/p&gt;

&lt;p&gt;In this release we provide:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Content Repository API bindings for the
following programming languages: C, Python, PHP and Objective-C. D-Bus
signals are used to inform different Midgard2 applications about things
happening in the repository, enabling for example a PHP website and a
Python background process to communicate with each other.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Midgard MVC, an elegant framework for PHP web applications. Midgard MVC 
includes interfaces for loadable components, hierarchical sub-requests, 
a forms system and much more.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Midgard Runtime that combines the Midgard MVC, a PHP application server 
and a WebKit UI to provide a full Midgard web development environment on the desktop.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Main changes from 10.05.0 release:&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Major fixes in new MidgardQuery classes&lt;/li&gt;
&lt;li&gt;Many improvements for GObject Introspection &lt;/li&gt;
&lt;li&gt;Fixed critical issues in MidgardView generation&lt;/li&gt;
&lt;li&gt;MidgardQuery classes has been implemented in PHP and Python bindings&lt;/li&gt;
&lt;li&gt;Improved installer for Midgard Runtime&lt;/li&gt;
&lt;li&gt;midgard_dbus class available in PHP bindings only if core is built with DBus support&lt;/li&gt;
&lt;li&gt;Fixed datetime related crash in Python bindings&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Main changes from 9.09 releases:&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Improved core which supports GObject Introspection&lt;/li&gt;
&lt;li&gt;Built on top of Libgda4&lt;/li&gt;
&lt;li&gt;Replication , quota and DBus are now optional and fully configurable&lt;/li&gt;
&lt;li&gt;Improved performance&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;New functionalities in 10.05 releases:&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;New reflection and introspection routines&lt;/li&gt;
&lt;li&gt;New database query interfaces&lt;/li&gt;
&lt;li&gt;New language bindings: vala and mono (C#)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Midgard2&lt;/h2&gt;

&lt;p&gt;Midgard2 is a content repository. It provides an object-oriented and
replicated environment for building data-intensive applications. This
provides several advantages&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Common rules for data access mean that multiple applications can work
with same content without breaking consistency of the data&lt;/li&gt;
&lt;li&gt;Signals about changes let applications know when another application
using the repository modifies something, enabling collaborative data
management between apps&lt;/li&gt;
&lt;li&gt;Objects instead of SQL mean that developers can deal with data using
APIs more compatible with the rest of their desktop programming
environment, and without having to fear issues like SQL injection&lt;/li&gt;
&lt;li&gt;Data model is scriptable when you use a content repository, meaning
that users can easily write Python or PHP scripts to perform batch
operations on their data without having to learn your storage format&lt;/li&gt;
&lt;li&gt;Synchronization and sharing features can be implemented on the
content repository level meaning that you gain these features without
having to worry about them&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Midgard's philosophy includes building on top of a well-known and
supported GNOME libraries like glib and libgda on the system end, and
connecting with popular programming languages like PHP and Python. Data
storage can utilize SQLite with desktop and mobile applications, or a
database server like MySQL or Postgres for web application storage.&lt;/p&gt;

&lt;p&gt;The Midgard2 platform enables developers to define a storage structure
once and use it on both web and desktop applications, with the
possibility of easy data replication between the two.&lt;/p&gt;

&lt;p&gt;Read more about Midgard's content repository approach:&lt;/p&gt;

&lt;p&gt;*
&lt;a href=&quot;http://bergie.iki.fi/blog/why_you_should_use_a_content_repository_for_your_application/&quot;&gt;http://bergie.iki.fi/blog/why_you_should_use_a_content_repository_for_your_application/&lt;/a&gt;
 * &lt;a href=&quot;http://bergie.iki.fi/blog/midgard2_at_fscons-your_data-everywhere/&quot;&gt;http://bergie.iki.fi/blog/midgard2_at_fscons-your_data-everywhere/&lt;/a&gt;
 *
&lt;a href=&quot;http://bergie.iki.fi/blog/midgard_and_jcr-a_look_at_two_content_repositories/&quot;&gt;http://bergie.iki.fi/blog/midgard_and_jcr-a_look_at_two_content_repositories/&lt;/a&gt;
 * &lt;a href=&quot;http://teroheikkinen.iki.fi/blog/midgard_workshop_at_fscons/&quot;&gt;http://teroheikkinen.iki.fi/blog/midgard_workshop_at_fscons/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;New Midgard architecture&lt;/h2&gt;

&lt;h3&gt;Language independence&lt;/h3&gt;

&lt;p&gt;Midgard is also language independent and due to its powerful
architecture has proven as stable, secure and flexible solution
implemented in various environments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PHP5 extension for web application and CMS development&lt;/li&gt;
&lt;li&gt;Python module for desktop application and background process development&lt;/li&gt;
&lt;li&gt;Objective-C package &lt;a href=&quot;http://www.midgard-project.org/documentation/xcode_tutorial/&quot;&gt;for Mac OS X&lt;/a&gt; and GNUstep developers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also provides bindings for other languages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vala &lt;/li&gt;
&lt;li&gt;Mono (C#)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Database independence&lt;/h3&gt;

&lt;p&gt;The Midgard 1.x was heavily coupled with the MySQL database. The new
Midgard2 architecture is instead built on top of libgda, the GNOME
database abstraction layer. This enables Midgard to be used with various
storage engines, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;MySQL&lt;/li&gt;
&lt;li&gt;Postgres&lt;/li&gt;
&lt;li&gt;SQLite&lt;/li&gt;
&lt;li&gt;Microsoft SQL Server&lt;/li&gt;
&lt;li&gt;Oracle&lt;/li&gt;
&lt;li&gt;DB2&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Built-in replication and metadata&lt;/h3&gt;

&lt;p&gt;All Midgard objects are automatically equipped with a consistent set of
metadata properties that can be used for access control and workflow.&lt;/p&gt;

&lt;p&gt;In addition, Midgard provides an API for serializing and unserializing
stored objects in XML format that can be used for replicating data
between different systems. The replication architecture can be used for
staging/live web environments or mobile applications that synchronize
between each other or a web back-end.&lt;/p&gt;

&lt;h1&gt;Midgard resources&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.midgard-project.org/download/10-05/&quot;&gt;Download page and changelog for latest release&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://trac.midgard-project.org/wiki/WikiStart&quot;&gt;Bug reporting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;User and developers support:&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.midgard-project.org/discussion/user-forum/&quot;&gt;Users' forum&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.midgard-project.org/discussion/developer-forum/&quot;&gt;Developers' forum&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;IRC: #midgard on irc.freenode.net&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.qaiku.com/channels/show/midgard/&quot;&gt;#midgard on Qaiku&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;MidgardProject on Twitter&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;About Midgard&lt;/h2&gt;

&lt;p&gt;The Midgard Framework development started in 1997 and it was initially
released as free software in May 1999. Midgard Project has since
gathered an active user and developer community, powering thousands of
web sites ranging from simple organizational intranets to large
community portals.&lt;/p&gt;

&lt;p&gt;Midgard is being developed by an international team of professionals.
Midgard's development team includes new media designers, system
integrators and content management consultants. Midgard development has
been supported by several commercial and governmental entities including
the European Union and the Swedish Internet Foundation.&lt;/p&gt;

&lt;p&gt;Midgard2 is free software available under the GNU LGPL license.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.midgard2.org&quot;&gt;http://www.midgard2.org&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Contacts&lt;/h2&gt;

&lt;p&gt;Piotr Pokora, Midgard release manager
piotrek.pokora(at)gmail.com&lt;/p&gt;

&lt;p&gt;Henri Bergius, Midgard spokesman
henri.bergius(at)iki.fi&lt;/p&gt;

&lt;p&gt;The Midgard Project
&lt;a href=&quot;http://www.midgard-project.org&quot;&gt;http://www.midgard-project.org&lt;/a&gt;&lt;/p&gt;
</description>
            <author>Piotr Pokora</author>
            <pubDate>Tue, 22 Jun 2010 14:22:47 +0000</pubDate>
        </item>
        <item>
            <title>[Announcement] Midgard 8.09.9 released!</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/ab3cc9227ddc11dfad6b8727bc06a05aa05a/</link>
            <description>&lt;p&gt;Lodz, June 22nd 2010 -- The Midgard Project has released the ninth maintenance release of Midgard 8.09 Ragnaroek LTS. Ragnaroek LTS is a Long Term Support version of the free software Content Management Framework.&lt;/p&gt;

&lt;p&gt;Midgard is an industrial CMS built on top of a Content Repository and the LAMP stack. It provides object-oriented PHP APIs for developing and modifying website functionalities, and a PEAR-based system for installing new web components from a growing online library. Midgard has been running since 1999 on systems ranging from simple organizational websites to complex web communities and corporate management tools, in organizations like Aalto University, Nokia, Lufthansa, HP, Poland International Fairs and CMS Watch.&lt;/p&gt;

&lt;p&gt;The stable 8.09.9 release is recommended for all users of Midgard.&lt;/p&gt;

&lt;h2&gt;Main changes from 8.09.8:&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Rewritten Multilang queries (#1776)&lt;/li&gt;
&lt;li&gt;Fixed crashes (#1547, #1684)&lt;/li&gt;
&lt;li&gt;Fixed major MidCOM admin and style issues (#1779, #1788)&lt;/li&gt;
&lt;li&gt;Midgard internal features are now optional for better performance tunning (#1851)&lt;/li&gt;
&lt;li&gt;Many bugfixes and feature enhancements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In total more than 90 feature requests or bugs have been handled in this release. See the &lt;a href=&quot;http://trac.midgard-project.org/query?status=closed&amp;amp;milestone=8.09.9+Ragnaroek&quot;&gt;Midgard issue tracker&lt;/a&gt; for a full list.&lt;/p&gt;

&lt;h2&gt;Binary packages&lt;/h2&gt;

&lt;p&gt;The Midgard Project provides binary packages that are ready to install for most popular Linux distributions. This includes various versions of Debian, Fedora, Ubuntu, RHEL and openSUSE. See the full list:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://download.opensuse.org/repositories/home:/midgardproject:/ragnaroek/&quot;&gt;http://download.opensuse.org/repositories/home:/midgardproject:/ragnaroek/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Distribution-specific installation instructions can be found from the &lt;a href=&quot;http://www.midgard-project.org/documentation/&quot;&gt;Midgard documentation site&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;Source downloads&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;http://www.midgard-project.org/download/&quot;&gt;http://www.midgard-project.org/download/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Instructions for building Midgard from the sources can be found from the &lt;a href=&quot;http://www.midgard-project.org/documentation/&quot;&gt;Midgard documentation site&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;Getting started&lt;/h2&gt;

&lt;p&gt;On a typical Linux distribution setting up Midgard is quite trivial. Simply add the Midgard repository to your configuration, and then run:
    # apt-get update
    # apt-get install midgard-data
    # datagard&lt;/p&gt;

&lt;p&gt;After this you should have a running Midgard server. Simply access it with the browser and follow the instructions provided on the &lt;a href=&quot;http://www.midgard-project.org/documentation/getting-started/&quot;&gt;Midgard Getting Started guide&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Issue tracker &amp;amp; getting help&lt;/h2&gt;

&lt;p&gt;See the Midgard issue tracker for currently open issues and planned enhancements.
&lt;a href=&quot;http://trac.midgard-project.org/roadmap&quot;&gt;http://trac.midgard-project.org/roadmap&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you need help with your Midgard setup, the #midgard IRC channel on freenode is the best place to start. There is also an user mailing list.&lt;/p&gt;

&lt;h2&gt;More information&lt;/h2&gt;

&lt;p&gt;Piotr Pokora, Midgard release manager
piotrek.pokora(at)gmail.com&lt;/p&gt;

&lt;p&gt;Henri Bergius, Midgard bug master
henri.bergius(at)iki.fi&lt;/p&gt;

&lt;p&gt;The Midgard Project
&lt;a href=&quot;http://www.midgard-project.org/&quot;&gt;http://www.midgard-project.org/&lt;/a&gt;&lt;/p&gt;
</description>
            <author>Piotr Pokora</author>
            <pubDate>Tue, 22 Jun 2010 09:00:56 +0000</pubDate>
        </item>
        <item>
            <title>Re: [midgard-user] Midgard and PhPUnit</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/b273c6e67adf11dfa681f76d7e4bc6f2c6f2/</link>
            <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;On Fri, Jun 18, 2010 at 12:36 PM, Henri Bergius &lt;a href=&quot;&amp;#x6d;a&amp;#105;&amp;#x6c;&amp;#x74;&amp;#111;:&amp;#x68;&amp;#101;&amp;#110;&amp;#x72;&amp;#105;&amp;#46;&amp;#98;&amp;#101;&amp;#114;&amp;#103;&amp;#105;&amp;#117;&amp;#x73;&amp;#64;&amp;#105;&amp;#x6b;i&amp;#x2e;&amp;#x66;i&quot;&gt;&amp;#x68;&amp;#101;&amp;#110;&amp;#x72;&amp;#105;&amp;#46;&amp;#98;&amp;#101;&amp;#114;&amp;#103;&amp;#105;&amp;#117;&amp;#x73;&amp;#64;&amp;#105;&amp;#x6b;i&amp;#x2e;&amp;#x66;i&lt;/a&gt; wrote:
&lt;blockquote&gt;
  &lt;p&gt;In this case the Midgard MVC unit test setup might be possible to
  adapt to your use:&lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;I just refactored Midgard MVC's PHPUnit test harness a bit. Basically
your application would need something similar to
http://github.com/midgardproject/midgardmvc_core/blob/master/tests/midgard.php&lt;/p&gt;

&lt;p&gt;...then just write your PHPUnit testcases inheriting from that class.&lt;/p&gt;

&lt;p&gt;Note that this version uses the methods for opening a Midgard
connection that are present from Midgard 8.09 onwards (and in
Midgard2), so they need to be rewritten to use the classic Midgard
connection API.&lt;/p&gt;

&lt;p&gt;-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/&lt;/p&gt;

&lt;p&gt;Skype: henribergius
Jabber: henri.bergius@gmail.com
Microblog: http://www.qaiku.com/home/bergie/

&lt;hr /&gt;

user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user&lt;/p&gt;
</description>
            <author>Henri Bergius</author>
            <pubDate>Fri, 18 Jun 2010 13:45:03 +0000</pubDate>
        </item>
        <item>
            <title>Re: [midgard-user] Midgard and PhPUnit</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/f643e4ba7ac011dfb01eeb57e23c54f354f3/</link>
            <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;On Fri, Jun 18, 2010 at 12:14 PM, Piotr Pokora &lt;a href=&quot;&amp;#x6d;&amp;#97;&amp;#105;&amp;#x6c;&amp;#116;&amp;#x6f;:p&amp;#x69;&amp;#111;&amp;#x74;&amp;#x72;&amp;#101;&amp;#x6b;&amp;#46;p&amp;#111;&amp;#107;&amp;#111;&amp;#114;&amp;#97;&amp;#x40;&amp;#x67;&amp;#x6d;&amp;#x61;&amp;#105;&amp;#x6c;&amp;#46;&amp;#99;&amp;#x6f;&amp;#109;&quot;&gt;p&amp;#x69;&amp;#111;&amp;#x74;&amp;#x72;&amp;#101;&amp;#x6b;&amp;#46;p&amp;#111;&amp;#107;&amp;#111;&amp;#114;&amp;#97;&amp;#x40;&amp;#x67;&amp;#x6d;&amp;#x61;&amp;#105;&amp;#x6c;&amp;#46;&amp;#99;&amp;#x6f;&amp;#109;&lt;/a&gt; wrote:
&lt;blockquote&gt;
  &lt;blockquote&gt;
    &lt;p&gt;Our application is an internal application used by thousands of users to manage client environments...&lt;/p&gt;
  &lt;/blockquote&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;I had heard rumors of this before. The typical situation with Open
Source is that you can't really know who is using your software. So,
cool! Very nice to hear of this.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Yeah, elements are kept in memory, so no single file is involved here.
  I wonder if you could try with cache files, usually stored in
  /var/cache/midgard.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The other option (and probably better) would be to have unit tests for
actual classes of the application. Are they handled in filesystem or
snippets?&lt;/p&gt;

&lt;p&gt;In this case the Midgard MVC unit test setup might be possible to
adapt to your use:
http://trac.midgard-project.org/browser/trunk/midgardmvc/tests
(note: this code uses Midgard2, so quite a few changes needed to work with 1.8)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Piotras&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;/Bergie&lt;/p&gt;

&lt;p&gt;-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/&lt;/p&gt;

&lt;p&gt;Skype: henribergius
Jabber: henri.bergius@gmail.com
Microblog: http://www.qaiku.com/home/bergie/

&lt;hr /&gt;

user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user&lt;/p&gt;
</description>
            <author>Henri Bergius</author>
            <pubDate>Fri, 18 Jun 2010 10:05:02 +0000</pubDate>
        </item>
        <item>
            <title>Re: [midgard-user] Midgard and PhPUnit</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/60c02f7a7abb11df9993cbd0c8edd0e8d0e8/</link>
            <description>&lt;p&gt;Hi!&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Our application is an internal application used by thousands of users to manage client environments...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Good to hear Midgard feels well in large setups :)
BTW, there's OpenPSA2 CRM: http://www.openpsa2.org.
It's not officially announced, but it's used by companies like HP or
Lufthansa.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;We are using midgard-core-1.8.9.2-1.x86_64.rpm ... I must admit I'm new to this project and don't master everything yet ...
  The problem I saw when trying to put in place PHPUnit is due to Midgard Page construction ... In fact, from what I understand, Midgard allows to build a page by replacing references to other elements by their contents (http://www.midgard-project.org/documentation/concepts-page_and_style/) ... 
  Because PHPUnit directly call a given element, for sure we will miss references to other elements ...&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Yeah, elements are kept in memory, so no single file is involved here.
I wonder if you could try with cache files, usually stored in
/var/cache/midgard.&lt;/p&gt;

&lt;p&gt;Convention to file naming is: host_id-page_id-style_id-lang.
Those files should contain midgard-root.php file &quot;extracted&quot;.&lt;/p&gt;

&lt;p&gt;Piotras

&lt;hr /&gt;

user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user&lt;/p&gt;
</description>
            <author>Piotr Pokora</author>
            <pubDate>Fri, 18 Jun 2010 09:25:04 +0000</pubDate>
        </item>
        <item>
            <title>Re: [midgard-user] Midgard and PhPUnit</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/95fb8bf67ab811df8c58795e856780648064/</link>
            <description>&lt;p&gt;Hi Henri,&lt;/p&gt;

&lt;p&gt;Thanks for your answer ...&lt;/p&gt;

&lt;p&gt;Our application is an internal application used by thousands of users to manage client environments ... It's a kind of placeholder to share client environment knowledge (data, documents, contacts, ...) with some more functionalities (read/write access, wiki, ...). It's now an 8 years old application that really help people to collaborate to solve/manage our clients...&lt;/p&gt;

&lt;p&gt;I come back to my problem. 
We are using midgard-core-1.8.9.2-1.x86_64.rpm ... I must admit I'm new to this project and don't master everything yet ...
The problem I saw when trying to put in place PHPUnit is due to Midgard Page construction ... In fact, from what I understand, Midgard allows to build a page by replacing references to other elements by their contents (http://www.midgard-project.org/documentation/concepts-page_and_style/) ... 
Because PHPUnit directly call a given element, for sure we will miss references to other elements ...&lt;/p&gt;

&lt;p&gt;What you're pointed to me seems more PHPUnit of MidCOM itself but not PHPUnit of an application using Midgard ...
We really wonder how to do ? ... What's the right approach ? ... and definitely need some help, some guidance on this topic ... so we really appreciate if you could help us ?&lt;/p&gt;

&lt;p&gt;Regards
Pierre-Marie&lt;/p&gt;

&lt;p&gt;-----Original Message-----
From: henri.bergius@gmail.com [mailto:henri.bergius@gmail.com] On Behalf Of Henri Bergius
Sent: Wednesday, June 16, 2010 4:29 PM
To: Midgard user list
Cc: Bouteille, Pierre-marie
Subject: Re: [midgard-user] Midgard and PhPUnit&lt;/p&gt;

&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;On Wed, Jun 16, 2010 at 1:17 PM, Bouteille, Pierre-marie
&lt;a href=&quot;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#116;&amp;#x6f;:&amp;#80;&amp;#105;&amp;#101;&amp;#x72;r&amp;#101;&amp;#45;&amp;#x4d;&amp;#97;&amp;#114;&amp;#105;&amp;#x65;&amp;#46;&amp;#x42;o&amp;#117;&amp;#116;&amp;#x65;&amp;#x69;&amp;#x6c;&amp;#x6c;&amp;#101;&amp;#x40;&amp;#104;&amp;#112;&amp;#46;&amp;#x63;&amp;#x6f;&amp;#x6d;&quot;&gt;&amp;#80;&amp;#105;&amp;#101;&amp;#x72;r&amp;#101;&amp;#45;&amp;#x4d;&amp;#97;&amp;#114;&amp;#105;&amp;#x65;&amp;#46;&amp;#x42;o&amp;#117;&amp;#116;&amp;#x65;&amp;#x69;&amp;#x6c;&amp;#x6c;&amp;#101;&amp;#x40;&amp;#104;&amp;#112;&amp;#46;&amp;#x63;&amp;#x6f;&amp;#x6d;&lt;/a&gt; wrote:
&lt;blockquote&gt;
  &lt;p&gt;We need to use PHPUnit to perform unit test of our application that is using
  Midgard.&lt;/p&gt;
  
  &lt;p&gt;Basically we are facing problem due to file inclusion ... Midgard manages
  inclusion through midgard-root.php but when using PHPUnit we directly call
  method ...&lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;I assume the application is using Midgard1 (versions up until Midgard
8.09 &quot;Ragnaroek&quot;). In Midgard2 we have a PHPunit test environment
bundled with the system, but with Midgard1 it is unfortunately a bit
trickier.&lt;/p&gt;

&lt;p&gt;Tarjei Huse was working on a unit testing environment for MidCOM in
http://trac.midgard-project.org/browser/branches/thor/midcom/midcom.tests.base
which might be possible to bring back to life.&lt;/p&gt;

&lt;p&gt;BTW, would be interesting to hear a bit more about your Midgard application :-)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Pierre-Marie&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;/Henri&lt;/p&gt;

&lt;p&gt;-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/&lt;/p&gt;

&lt;p&gt;Skype: henribergius
Jabber: henri.bergius@gmail.com
Microblog: http://www.qaiku.com/home/bergie/

&lt;hr /&gt;

user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user&lt;/p&gt;
</description>
            <author>Bouteille, Pierre-marie</author>
            <pubDate>Fri, 18 Jun 2010 09:05:05 +0000</pubDate>
        </item>
        <item>
            <title>Re: [midgard-user] Midgard and PhPUnit</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/59f0da4a795411df9749099fa99728a028a0/</link>
            <description>&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;On Wed, Jun 16, 2010 at 1:17 PM, Bouteille, Pierre-marie
&lt;a href=&quot;m&amp;#97;&amp;#x69;&amp;#108;&amp;#x74;&amp;#x6f;:&amp;#80;&amp;#x69;&amp;#x65;&amp;#114;&amp;#114;&amp;#x65;&amp;#45;&amp;#x4d;&amp;#97;&amp;#114;&amp;#x69;&amp;#101;&amp;#x2e;&amp;#x42;&amp;#111;&amp;#117;&amp;#116;&amp;#101;&amp;#105;&amp;#x6c;&amp;#x6c;&amp;#101;&amp;#64;&amp;#104;&amp;#x70;&amp;#46;&amp;#x63;&amp;#x6f;&amp;#x6d;&quot;&gt;&amp;#80;&amp;#x69;&amp;#x65;&amp;#114;&amp;#114;&amp;#x65;&amp;#45;&amp;#x4d;&amp;#97;&amp;#114;&amp;#x69;&amp;#101;&amp;#x2e;&amp;#x42;&amp;#111;&amp;#117;&amp;#116;&amp;#101;&amp;#105;&amp;#x6c;&amp;#x6c;&amp;#101;&amp;#64;&amp;#104;&amp;#x70;&amp;#46;&amp;#x63;&amp;#x6f;&amp;#x6d;&lt;/a&gt; wrote:
&lt;blockquote&gt;
  &lt;p&gt;We need to use PHPUnit to perform unit test of our application that is using
  Midgard.&lt;/p&gt;
  
  &lt;p&gt;Basically we are facing problem due to file inclusion  Midgard manages
  inclusion through midgard-root.php but when using PHPUnit we directly call
  method &lt;/p&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;I assume the application is using Midgard1 (versions up until Midgard
8.09 &quot;Ragnaroek&quot;). In Midgard2 we have a PHPunit test environment
bundled with the system, but with Midgard1 it is unfortunately a bit
trickier.&lt;/p&gt;

&lt;p&gt;Tarjei Huse was working on a unit testing environment for MidCOM in
http://trac.midgard-project.org/browser/branches/thor/midcom/midcom.tests.base
which might be possible to bring back to life.&lt;/p&gt;

&lt;p&gt;BTW, would be interesting to hear a bit more about your Midgard application :-)&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Pierre-Marie&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;/Henri&lt;/p&gt;

&lt;p&gt;-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/&lt;/p&gt;

&lt;p&gt;Skype: henribergius
Jabber: henri.bergius@gmail.com
Microblog: http://www.qaiku.com/home/bergie/

&lt;hr /&gt;

user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user&lt;/p&gt;
</description>
            <author>Henri Bergius</author>
            <pubDate>Wed, 16 Jun 2010 14:35:03 +0000</pubDate>
        </item>
        <item>
            <title>Midgard and PhPUnit</title>
            <link>http://www.midgard-project.org/discussion/user-forum/read/f5e1fef4795211dfb4adb5969db8a843a843/</link>
            <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;We need to use PHPUnit to perform unit test of our application that is using Midgard.
Basically we are facing problem due to file inclusion ... Midgard manages inclusion through midgard-root.php but when using PHPUnit we directly call method ...&lt;/p&gt;

&lt;p&gt;Is there anyone that can provide us some hints on how to do ?
Is there a document somewhere explaining how to do ?&lt;/p&gt;

&lt;p&gt;Any help would be appreciable ...&lt;/p&gt;

&lt;p&gt;Regards
Pierre-Marie&lt;/p&gt;


&lt;hr /&gt;

user mailing list
user@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/user
</description>
            <author>Bouteille, Pierre-marie</author>
            <pubDate>Wed, 16 Jun 2010 14:25:06 +0000</pubDate>
        </item>
    </channel>
</rss>
