phpWebLog - web news management with adolescent sexist humor
find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (909)
  • Announcements (20)
  • Development (518)
  • Mods & Hacks (32)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • smileys (Nekrataal)
  • smileys (reinhard)
  • Where can I modify the style of bottom navigation? (11)
  • Where can I modify the style of bottom navigation? (Ken Farmer)
  • Great News for PHP Programmers.... (Nekrataal)


  • DBI and User, Group, Permissions - General
    Posted by mochaexpress (Tuesday February 06 2001 @ 03:02AM EST) views: 255
    i finally have some time to go back and do some work on phpweblog. i've got about 90% of the code to be database independent. you can currently use PostgreSQL, MySQL, Oracle, and several others. it should be ready for PHP's PEAR implementation once PEAR matures some more.

    in addition, i'm 1/8 way done with implementation of user, group, permissions. currently you can have:

    1. unlimited users
    2. unlimited groups
    3. global permissions for user (31 levels, atomic or inclusive)
    4. group permissions (31 levels, atomic or inclusive)
    5. you can turn it all off via a configuration

    as you can predict, implementing users means using sessions. so i'll have that in place as well. the session will use PHP4's sessions. however, the session layer will be abstracted so you can use file, mm, db, or what ever storage method you want. if you are stuck with php3, don't worry, i hope it will be backward compatible with php3 (but i won't spend much time on this part).

    i'm also contemplating changing to XSLT template design which would give me more flexibilities. it's well accepted and it's a standard. i have a need to allow access via WAP, and other wireless methods.

    so if you have any wishes or concerns on what you want implemented, let me know. it's easier to implement things at the early stages.

    i can tell by jason's update that he's really busy. before i couldn't even keep up with him and all his updates each day. but maybe now that he's busy, it would give me time to do some of this and not have to step on his toes too much.

    next on the list is also bad word filter. following that would be:

    1. smilies
    2. comments view filtering like slashdot's karma system. i've reviewed quite a few, and slashdot's way seems to be very scalable and effective.
    3. spelling checker

    < Bug and Fix in &quot;brief&quot; topics | edit.php >

    By jason (Tuesday February 06 2001 @ 11:38AM EST)
    I'd like to open the source tree up for you to develop on if you'd like. Or if you have a better way of merging our different trees let me know. So far, I've been simply fixing the bugs in 0.5.0 to make ready for a 0.5.1 release.
    [ reply | parent ]
    By mochaexpress (Tuesday February 06 2001 @ 12:23PM EST)
    CVS would be the way to go. Just set one up at sourceforge (they are so slow). i've brought my work current as of 0.50 with the patches made on the message board. the DBI is 100% complete as far as the code is concerned. it was a bit trickier than i thought, but it was done in a day. i'm going to export from mysql and see if import into pgsql would go smoothly.

    another concern of mine is since this is your "baby." i don't want to do anything that would be in any direction you don't see suitable for phpweblog. that's a big reason why i've not made much public. i feared that it would branch and divide the user base. therefore, it would be really nice for me to know how and where you want to take this "baby."
    [ reply | parent ]
    By jason (Tuesday February 06 2001 @ 02:41PM EST)
    phpWebLog is pretty much at the point at which I originally wanted it. Any new features added from here would be fine as long as the admin has control over enabling/disabling it.

    I'll go setup the CVS server now. What's your sourceforge handle?
    [ reply | parent ]
    By A.Eriksson (Tuesday February 06 2001 @ 02:31PM EST)
    When do you plan to release your modifications? Any chance to see it in action? Great work!
    [ reply | parent ]
    By mochaexpress (Tuesday February 06 2001 @ 04:51PM EST)
    i will upload it to CVS at:

    http://www.sourceforge.net/projects/phpweblog
    [ reply | parent ]
    By BuBbA (Tuesday February 06 2001 @ 08:29PM EST)
    First of all i wish you luck on this project:)

    I agree with the comments like slashdot, they're very organized and easy to browse.

    Will it be possible for the admin to turn on/off the anonymous user comments?

    Will it possible for the registered user to choose wich template to use?

    I also agree with jason, i don't mind programs wich lots of options, since i can enable/disable it in a easy way.

    ( btw, what's a CVS? )
    [ reply | parent ]
    By mochaexpress (Tuesday February 06 2001 @ 09:37PM EST)
    you should be able to turn off the options you don't want. users will be able to choose their preferred "theme." don't call it template, they'll get confused. j/k.

    one of the thing i worry about is it'll be a big change and i'm not sure how people will react to it. but i guess they can always revert back to .50.
    [ reply | parent ]
    By mochaexpress (Tuesday February 06 2001 @ 09:40PM EST)
    CVS -- in short it allows you to control how changes apply to the source codes. you can branch off, revert back, etc from the current branch you are coding in. i guess it allows you to manage updates and modifications to your source codes if you have lots of people working on it.
    [ reply | parent ]
    By Dylan (Wednesday February 07 2001 @ 12:24AM EST)
    Yey for DB abstration, I managed to make all the
    code DB independant using phpDB, but the SQL was
    too MySQL specific and I fell behind and then gave
    u
    [ reply | parent ]
    By mochaexpress (Wednesday February 07 2001 @ 10:27AM EST)
    i'm in the process of making the tables for postgresql. then i'll be able to see how the SQL queries will have to be changed. i'm just hoping i don't have to change the table schema's datatype, as that would make upgrading much more difficult.
    [ reply | parent ]
    By BuBbA (Wednesday February 07 2001 @ 10:11AM EST)
    And how will this work? Will it be a new version upogradable from 0.4.2 or only from 0.5.0? Or will it work like an addon?
    [ reply | parent ]
    By mochaexpress (Wednesday February 07 2001 @ 10:31AM EST)
    i'm shooting for a painless upgrade. however, when making an app dbi, if you start from scratch with the intention to be dbi, then things are easier to code. but in this case, i'm porting existing code written specifically for mysql so that it would work on the other DB's. i'm sure some compromise will have to be reached to make things more generic or abstracted so it would work on the other DB's.
    [ reply | parent ]
    By A.Eriksson (Wednesday February 07 2001 @ 10:33AM EST)
    When do you think the script modifications will be ready for public testing? It all sound great...
    [ reply | parent ]
    By mochaexpress (Wednesday February 07 2001 @ 12:52PM EST)
    i'll make an announcement here. i won't give any timeline cause i am never able to make timelines due to other responsibilities.
    [ reply | parent ]
    By jason (Wednesday February 07 2001 @ 01:35PM EST)
    sourceforge cvs is a pain in the ass. =]
    [ reply | parent ]
    By mochaexpress (Wednesday February 07 2001 @ 03:04PM EST)
    give me a few days so i can brush up on CVS i'll see if i can put in on our server here.
    [ reply | parent ]
    By A.Eriksson (Thursday February 08 2001 @ 12:36AM EST)
    Request: working file download/upload feature.
    [ reply | parent ]
    By mochaexpress (Thursday February 08 2001 @ 11:21PM EST)
    this is a HUGE security problem if you were to save the files in a directory file system instead of the database. if you have your own webserver then fine. but if you share, i wouldn't recommend it unless you can run suid.
    [ reply | parent ]
    By Anonymous (Saturday June 02 2001 @ 01:00AM EDT)
    Any status on this? I have not found a single weblog/cms that uses postgresql for the backend. And it REALLY pisses me off!

    Thanks in advance,
    -Ed
    ed@MonteSS.com
    [ reply | parent ]
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:
    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net
  • php|cruise: The World's First Ever PHP-only Cruise
  • PHP Usage Survey Results
  • PHP Manual CHM Edition - 12th build
  • International PHP Conference 2003 program online
  • Server Central Donates Server
  • European Open Source Development Threatened!
  • php{con west is announced
  • PHP 4.3.3 released!
  • Active Awards 2003 Winners
  • PHP.net news history

  • PHPBuilder
  • PHPBuilder.com New Articles


  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications