Re: [midgard] Midgard and PHP4

2000-01-14 Thread Alexander Bokovoy

 On 13 Jan, Pat Padgett wrote:
  I was just wondering what will be happening with Midgard when PHP4 comes 
  out.  Has there already been work with Midgard and the existing PHP4 
  betas?  I'm a neophyte to this sort of thing (php module programming, 
  particularly) perhaps I'm wrong in thinking that there will be quite a bit 
  of modification to Midgard (possibly a whole rewrite of code?) to get it to 
  work with php4?  Or is this what we're waiting for with Midgard 2.0 (PHP4 
  support)?
 
 Yes, I think we'll have to wait until Midgard 2 to
 get PHP4 support. Midgard 2 also changes its support
 for scripting languages so that we can have Midgard's
 PHP extensions as a module and patch Zend's language
 scanner instead (to add support for Midgard's extended
 PHP syntax).
There is another thing that would be done with PHP4. We can 
separate support for (variable:modifier); syntax from Midgard-PHP module so 
that it could be used outside Midgard-based sites too (for example, one could 
compile PHP as cgi binary and use it from command line to test Midgard-oriented 
scripts without placing it into DB). It is tightly connected with planning 
extensible parser's support. Hence, at Zend level we'll do support for parsers, 
and at PHP module do all other Midgard bindings.

BR,
Alexander.

-
This message was sent via BSPU MailMan server.
http://www.bspu.unibel.by/MailMan/



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



[midgard] Oracle port

2000-01-14 Thread Jean-Pierre Arneodo

Hello dev team,
we are porting the MySQL Midgard interface to Oracle8.

1. Datatype

With MySQL we use the TEXT datatype.
With Oracle, there is:
* VARCHAR2 with 4Kb searchable
* LONG with 4 Mb no searchable
* LOB with 4Gb no searchable

We choose the LONG datatype. No objection?

2. Article extension

We want also to have external tables to be linked to articles.
Some local developpers ask me about this.
Is this interface skeleton exists and frozen in V2?

We want also the article extension to be searchable.
Before starting this point, any ideas are welcome.
Yes, we can use the php interface to oracle to do this,
but we don't want to have extra database connections.
The idea is not to rewrite a db interface, but a selective
extract from one table based on articleid, topicid and a list of custom
fields.
This feature can be used also for Midgard tables like person
when we have a lot of user.
What do you think about this?

3. Date datatype and functions

Midgard uses a lot of mysql date functions and features.
It's hard to implement in Oracle, this takes more time than expected.
In the next release V2, what is the direction for the sql syntax?

4. First Beta release

A first package based on Midgard 1.2.5 is expected
February, 15th.


Jean-Pierre Arneodo




--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] remote database server

2000-01-14 Thread Emiliano

On Thu, 13 Jan 2000, David Moreno wrote:

   /var/tmp/rpm-tmp.74595: --disable-shared: command not found
 i typed 2 or 3 times and everytime it says the same after more than 5
 minutes of data output and work of rpm it says that what could it be?

Can you send me the file mentioned above?

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



[midgard] some questions

2000-01-14 Thread AdriandeRivero

i would like to know when your documentation about your program will be
completet.

is there a documentation in german planed?

can you send me some links where i can see how your program works (some
sites where it is already in use!)

are you planing to put a binaries version of midgard for suse linux 6.2?

please send me an answer soon as possible

adrian de rivero

email: [EMAIL PROTECTED]

-- 
Sent through Global Message Exchange - http://www.gmx.net


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] Oracle port

2000-01-14 Thread Alexander Bokovoy

 Hello dev team,
 we are porting the MySQL Midgard interface to Oracle8.
 
 1. Datatype
 
 With MySQL we use the TEXT datatype.
 With Oracle, there is:
 * VARCHAR2 with 4Kb searchable
 * LONG with 4 Mb no searchable
 * LOB with 4Gb no searchable
 
 We choose the LONG datatype. No objection?
I think  it would be OK. Search will be implemented using external search engine 
anyway.

 2. Article extension
 
 We want also to have external tables to be linked to articles.
 Some local developpers ask me about this.
 Is this interface skeleton exists and frozen in V2?
It exists but IMHO database structure not frozen yet as we have to add some fields to
generic table's fields (like language code id). You can get it from 
CVS (midgard-2.0 branch).
 
 We want also the article extension to be searchable.
 Before starting this point, any ideas are welcome.
We decided to create new set of functions mgd_get_custom_xxx() which will do such work.
 
 3. Date datatype and functions
 
 Midgard uses a lot of mysql date functions and features.
 It's hard to implement in Oracle, this takes more time than expected.
 In the next release V2, what is the direction for the sql syntax?
Jukka is very busy for the moment but he is responsible how SQL connections will be
implemented. You may try to ask him directly.
 
 4. First Beta release
 
 A first package based on Midgard 1.2.5 is expected
 February, 15th.
It would be good to integrate Oracle support into upcoming Midgard 1.2.6.
Could you fetch prerelease tar-balls from http://www.midgard.f2s.com/ and do patches?
Then I'll integrate Oracle wupport into main branch.

Sincerely yours,
Alexander Bokovoy.
-
This message was sent via BSPU MailMan server.
http://www.bspu.unibel.by/MailMan/



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] some questions

2000-01-14 Thread Henri Bergius

Greetings!

On 14 Jan, [EMAIL PROTECTED] wrote:
 i would like to know when your documentation about your 
 program will be completet.

Some people (mainly Ron Parker and Jamie Tomlinson) are
now working on it actively, so I'd expect to see at least
something usable within the next two months.

Our plan has been not to release Midgard 2 final before
we can include at least some documentation with it.

At the moment it is easiest to get help by posting questions
to this list.

 is there a documentation in german planed?

Not at the moment. However, once the documentation reaches
some state of completion I wouldn't be surprised if translated
versions begin to appear. I've heard of at least Russian
documentation in works.

 can you send me some links where i can see how your program works (some
 sites where it is already in use!)

Here are some:
http://www.midgard-project.org
http://www.stonesoft.com
http://www.stonebeat.com
http://www.optiwise.com
http://www.stonejobs.com
http://www.greywolves.org

Also, there is the Demo Site at http://midgard-demo.marlowes.com
that you can try out to get some feel of the Midgard system
before actually installing it.

 are you planing to put a binaries version of midgard for suse linux 6.2?

This was actually discussed earlier today. Malte Knoerr
([EMAIL PROTECTED]) volunteered to do the package.

 adrian de rivero

/Bergie

-- 
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
   http://www.iki.fi/Henri.Bergius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] Midgard and PHP4

2000-01-14 Thread Alexander Bokovoy

 On Fri, 14 Jan 2000, Alexander Bokovoy wrote:
 
  There is another thing that would be done with PHP4. We can separate
  support for (variable:modifier); syntax from Midgard-PHP module so
  that it could be used outside Midgard-based sites too (for example, one
  could compile PHP as cgi binary and use it from command line to test
  Midgard-oriented scripts without placing it into DB). It is tightly
  connected with planning extensible parser's support. Hence, at Zend
  level we'll do support for parsers, and at PHP module do all other
  Midgard bindings.
 
 On that note, it should be possible to work mod_midgard into mod_php3
 so Midgard in it's entirety could be used as a CGI binary. Pros, cons?
I agree. We could create compability layer to mimic mod_midgard functionality 
in PHP CGI binary. Of course, these functions should be used only if Apache 
support in PHP is disabled but Midgard's one is enabled.
One should write his/her scripts in such manner:
?php
$cgi_midgard = mgd_get_midgard
("mysql://user:password@database","/path/to/midgard-root.php3");
$scenario = $cgi_midgard-translate_url();
eval $scenario;
?

This is a rough sketch though. You may notice different parameters to 
mgd_get_midgard() and especially first parameter which will allow select not 
only MySQL database but other supported too ("mysql://", "odbc://", "oracle://" 
etc).

Your toughts?

BR,
Alexander Bokovoy.
-
This message was sent via BSPU MailMan server.
http://www.bspu.unibel.by/MailMan/



--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



RE: [midgard] remote database server

2000-01-14 Thread David Moreno

checking for errmsg.h... yes
checking for mysql.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
++ pwd
+ --disable-shared --prefix=/usr/src/redhat/BUILD/apache-midgard-1.2.5/midga
rd-l
ib-1.2.5
/var/tmp/rpm-tmp.5: --disable-shared: command not found
Bad exit status from /var/tmp/rpm-tmp.5 (%build)


i'm sending you the /var/tmp/rpm-tmp.5  ok


thanks again for your help





- Original Message -
From: Emiliano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 14, 2000 8:29 AM
Subject: Re: [midgard] remote database server


 On Thu, 13 Jan 2000, David Moreno wrote:

/var/tmp/rpm-tmp.74595: --disable-shared: command not found
  i typed 2 or 3 times and everytime it says the same after more than 5
  minutes of data output and work of rpm it says that what could it be?

 Can you send me the file mentioned above?

 Emile


 --
 This is The Midgard Project's mailing list. For more information,
 please visit the project's web site at http://www.midgard-project.org

 To unsubscribe the list, send an empty email message to address
 [EMAIL PROTECTED]


 rpm-tmp.5

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]


RE: [midgard] remote database server

2000-01-14 Thread David Moreno

checking for errmsg.h... yes
checking for mysql.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
++ pwd
+ --disable-shared --prefix=/usr/src/redhat/BUILD/apache-midgard-1.2.5/midga
rd-l
ib-1.2.5
/var/tmp/rpm-tmp.5: --disable-shared: command not found
Bad exit status from /var/tmp/rpm-tmp.5 (%build)


i'm sending you the /var/tmp/rpm-tmp.5  ok


thanks again for your help





- Original Message -
From: Emiliano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 14, 2000 8:29 AM
Subject: Re: [midgard] remote database server


 On Thu, 13 Jan 2000, David Moreno wrote:

/var/tmp/rpm-tmp.74595: --disable-shared: command not found
  i typed 2 or 3 times and everytime it says the same after more than 5
  minutes of data output and work of rpm it says that what could it be?

 Can you send me the file mentioned above?

 Emile


 --
 This is The Midgard Project's mailing list. For more information,
 please visit the project's web site at http://www.midgard-project.org

 To unsubscribe the list, send an empty email message to address
 [EMAIL PROTECTED]


 rpm-tmp.5

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]


Re: [midgard] remote database server

2000-01-14 Thread Emiliano

David Moreno wrote:
 
 checking for errmsg.h... yes
 checking for mysql.h... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 ++ pwd
 + --disable-shared --prefix=/usr/src/redhat/BUILD/apache-midgard-1.2.5/midga

./configure --enable-shared=no--disable-shared

there needs to be a space between no and --

Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



[midgard] midgard question

2000-01-14 Thread Derek Beattie

I've been playing with midgard and creating my own layout by copying pices from
the example and admin layout.  When I go to the admin page or the example page
I can view the source and see something similar to the following:

BODY{ font-family: Arial, Helvetica, Geneva, Sans-serif;}
TD{ font-family: Arial, Helvetica, Sans-Serif;}
TD.maintext{ font: Arial, Helvetica, Sans-Serif; 
font-size: smaller;}
A.navi{ text-decoration: none;}
A.navi:hover{ text-decoration: underline;}
A.footer{ text-decoration: none; color: #00;}
A.footer:hover{ text-decoration: underline; color: #00;}
A.navil{ text-decoration: none; color: #F0F0F0;}
A.footer:hover{ text-decoration: underline; color: #F0F0F0;}
H1{font-family: Arial,Helvetica,Geneva,Sans-Serif; 

but I can't find where this stuff is setup in the layout or content manager.

Thanks, Derek

=
.  \\|//
   (O-O)
*--oOO--(_)--OOo-*
*   Sender: Derek Beattie*
*   Personal: [EMAIL PROTECTED]*
*   Business: [EMAIL PROTECTED]*
**
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] midgard question

2000-01-14 Thread Pat Padgett

At 07:35 PM 1/14/00 -0800, you wrote:
I've been playing with midgard and creating my own layout by copying pices 
from
the example and admin layout.  When I go to the admin page or the example page
I can view the source and see something similar to the following:

BODY{ font-family: Arial, Helvetica, Geneva, Sans-serif;}
TD{ font-family: Arial, Helvetica, Sans-Serif;}
TD.maintext{ font: Arial, Helvetica, Sans-Serif;
font-size: smaller;}
A.navi{ text-decoration: none;}
A.navi:hover{ text-decoration: underline;}
A.footer{ text-decoration: none; color: #00;}
A.footer:hover{ text-decoration: underline; color: #00;}
A.navil{ text-decoration: none; color: #F0F0F0;}
A.footer:hover{ text-decoration: underline; color: #F0F0F0;}
H1{font-family: Arial,Helvetica,Geneva,Sans-Serif;

Those are Cascading Style Sheets (browser supported, not from 
midgard).  You can read more about them at this URL : 
http://www.w3.org/Style/CSS/

Hope this helps.


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] midgard question

2000-01-14 Thread Ron Parker

It's a style document that's located in Layout Administration area,
specifially it's part of the head and it's titled head-style. If you
follow the style element root it'll help you see how the style documents
are organized and how they're called.

parker

On Fri, 14 Jan 2000, Derek Beattie wrote:

 I've been playing with midgard and creating my own layout by copying pices from
 the example and admin layout.  When I go to the admin page or the example page
 I can view the source and see something similar to the following:
 
 BODY{ font-family: Arial, Helvetica, Geneva, Sans-serif;}
 TD{ font-family: Arial, Helvetica, Sans-Serif;}
 TD.maintext{ font: Arial, Helvetica, Sans-Serif; 
 font-size: smaller;}
 A.navi{ text-decoration: none;}
 A.navi:hover{ text-decoration: underline;}
 A.footer{ text-decoration: none; color: #00;}
 A.footer:hover{ text-decoration: underline; color: #00;}
 A.navil{ text-decoration: none; color: #F0F0F0;}
 A.footer:hover{ text-decoration: underline; color: #F0F0F0;}
 H1{font-family: Arial,Helvetica,Geneva,Sans-Serif; 
 
 but I can't find where this stuff is setup in the layout or content manager.
 
 Thanks, Derek
 
 =
 .  \\|//
(O-O)
 *--oOO--(_)--OOo-*
 *   Sender: Derek Beattie*
 *   Personal: [EMAIL PROTECTED]*
 *   Business: [EMAIL PROTECTED]*
 **
 __
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com
 
 --
 This is The Midgard Project's mailing list. For more information,
 please visit the project's web site at http://www.midgard-project.org
 
 To unsubscribe the list, send an empty email message to address
 [EMAIL PROTECTED]
 


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]



Re: [midgard] midgard question

2000-01-14 Thread Derek Beattie

Thanks!, I thought I rememberd seeing it somewhere.  I can't believe how
unbelievably fast people reply on this list.  Hopefully I will be able to do
the same in the future.

Derek

--- Ron Parker [EMAIL PROTECTED] wrote:
 It's a style document that's located in Layout Administration area,
 specifially it's part of the head and it's titled head-style. If you
 follow the style element root it'll help you see how the style documents
 are organized and how they're called.
 
 parker
 
 On Fri, 14 Jan 2000, Derek Beattie wrote:
 
  I've been playing with midgard and creating my own layout by copying pices
 from
  the example and admin layout.  When I go to the admin page or the example
 page
  I can view the source and see something similar to the following:
  
  BODY{ font-family: Arial, Helvetica, Geneva, Sans-serif;}
  TD{ font-family: Arial, Helvetica, Sans-Serif;}
  TD.maintext{ font: Arial, Helvetica, Sans-Serif; 
  font-size: smaller;}
  A.navi{ text-decoration: none;}
  A.navi:hover{ text-decoration: underline;}
  A.footer{ text-decoration: none; color: #00;}
  A.footer:hover{ text-decoration: underline; color: #00;}
  A.navil{ text-decoration: none; color: #F0F0F0;}
  A.footer:hover{ text-decoration: underline; color: #F0F0F0;}
  H1{font-family: Arial,Helvetica,Geneva,Sans-Serif; 
  
  but I can't find where this stuff is setup in the layout or content
 manager.
  
  Thanks, Derek
  
  =
  .  \\|//
 (O-O)
  *--oOO--(_)--OOo-*
  *   Sender: Derek Beattie*
  *   Personal: [EMAIL PROTECTED]*
  *   Business: [EMAIL PROTECTED]*
  **
  __
  Do You Yahoo!?
  Talk to your friends online with Yahoo! Messenger.
  http://im.yahoo.com
  
  --
  This is The Midgard Project's mailing list. For more information,
  please visit the project's web site at http://www.midgard-project.org
  
  To unsubscribe the list, send an empty email message to address
  [EMAIL PROTECTED]
  
 
 
 --
 This is The Midgard Project's mailing list. For more information,
 please visit the project's web site at http://www.midgard-project.org
 
 To unsubscribe the list, send an empty email message to address
 [EMAIL PROTECTED]
 
 

=
.  \\|//
   (O-O)
*--oOO--(_)--OOo-*
*   Sender: Derek Beattie*
*   Personal: [EMAIL PROTECTED]*
*   Business: [EMAIL PROTECTED]*
**
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]