June 16th, 2005

We had a nice little chat this month. We talked about some job offers that have come in, kcpug’s future, simple content management systems, the need for css and much more. A wrap up and some followup info, all in this month’s pug newsletter.

Job Prospects

JCCC is Hiring! I’ve recently accepted a position at my place of employment, and my old job is needing to be filled. We’re looking for a web application developer with lots of experience, a great attitude, and who is not afraid to do non-developer things. Check out the Jobs and Opportunities of http://jccc.edu for more information.
There were others, but I don’t want to announce them here, unless you want to. You know who you are. ;-)

Doug is looking for content management

Doug asked a question like “My clients need a CMS to edit simple websites, but they shouldn’t need to know any html, or anything.”

Helen suggested looking into DreamWeaver templates, as mostly his issue is providing a safty-net from his client’s own…creativity. We all agreed that this would be a good solution for many clients.

The lite section opensourcecms.com was also suggested as a place to look. After the meeting, I found cmsimple and sapid as possible candidates. Sapid looks really, really cool…and appears to be just downright perfect for this. Very clicky/sqishy…although the opensourcecms install is a little horked. Once you are logged in, just append ?mode=edit to the url of any page you want to switch into edit more. The edit button in the toolbar seems to be broken…but again, I’m sure it would work in your own install.

Helen is looking for a single page, easy update solution

The best I could think of was using something like HTMLArea, and let it post to a password-protected php script that would get the html and save the file.

So, say your user’s only saw mypage.php:
mypage.php
[code]

This is my page

include('uploaded_page.inc');

[/code]

Then, write up a simple php script…let’s call it uploader.php. It could draw a form using an html area. It should probably load the uploaded_page.inc file and put it in the html area.
On form submit, write the html-area into uploaded_page.inc.

This should naturally be password protected. You would also want to be careful not to let it write to any other page on your site, etc. But it should be fairly straightforward.

CSS: Any good info?

The topic of CSS came up as well. I’m a huge fan of it, and went on my pre-programmed rant of why it is a good thing. If you are interested, you may want to check on this handful of links:

  • A great 3 column, stretchy layout
  • tanfa in general is a great css reference.
  • A list apart
  • Specificly, their re-writing slashdot article
  • Anything Else?

    I’m sure I have missed a ton of things. Feel free to add anything I missed, or any additional information as a comment.

    See you all next month!!

    Get Involved! Help out a great guy, and get loads of exp. points!


    Help Jared finish this remarkable ERP/MRP system!
    Are you looking for a nice Open Source, PHP/MySQL Project to contribute to? How about something nice and impressive to add to your resume? Look no farther than BrotherJonathan. Nearly complete, this project just needs a little TLC to take it to it’s 1.0 release! And you can help!

    Visit brotherjonathan.org for more information, screenshots, demos and downloads!

    Welcome Selia; our youngest little PUG!

    [code] $dholmes = new Person("Dan Holmes",GENDER_MALE);
    $rholmes = new Person("Becky Holmes",GENDER_FEMALE);
    while(time() < strtotime("2005-04-09 16:38:00")){
    sleep 30;
    }
    $selia = PersonFactory::getInstance($rholmes,$dholmes,'Selia Avery Holmes',GENDER_FEMALE);

    $dholmes->assignNewPriority($selia);
    $dholmes->setFreeTime(".01%");

    echo $dholmes->getStatusMessage();
    echo $rholmes->getStatusMessage();
    echo $selia->getStatusMessage();
    ?>[/code]
    Result

    _QUOTEC
    Dan Holmes is currently very busy helping his wife Becky with their new baby daughter, Selia Avery Holmes. As such, his free time has been reduced to a tenth of one percent of his total time, and may be unable to respond efficiently to additional requests.

    Becky Holmes is doing quite well–thanks for asking.

    Selia Avery Holmes is doing quite well. She has returned to her birthweight of 8 lbs and 6 oz and makes a lot of funny noises throughout the day and night. Additional information will be accessible following the activation of the NaturalLanguage composite extension.

    Free PHP 5 Book

    Pretince Hall is giving away thier ‘PHP 5 Power Programming‘ book in PDF form for free! The book is written by Andi Gutmans, Stig Sæther Bakken, and Derick Rethans.

    EDITOR: Read more for all the details, including the table of contents.

    It is 720 pages long, and the table of contents contains:

    Foreword by Zeev Suraski
    Preface: Introduction and Background
    Chapter 1: What Is New in PHP 5?
    Chapter 2: PHP 5 Basic Language
    Chapter 3: PHP 5 OO Language
    Chapter 4: PHP 5 Advanced OOP and Design Patterns
    Chapter 5: How to Write a Web Application with PHP
    Chapter 6: Databases with PHP 5
    Chapter 7: Error Handling
    Chapter 8: XML with PHP 5
    Chapter 9: Mainstream Extensions
    Chapter 10: Using PEAR
    Chapter 11: Important PEAR Packages
    Chapter 12: Building PEAR Components
    Chapter 13: Making the Move
    Chapter 14: Performance
    Chapter 15: An Introduction to Writing PHP Extensions
    Chapter 16: PHP Shell Scripting
    A. PEAR and PECL Package Index
    B. phpDocumentor Format Reference
    C. Zend Studio Quick Start
    Index

    I have not gotten a chance to look through it yet; as soon as I found out I rushed over here to tell everyone. Also if it’s free how could you go wrong.

    ENJOY!
    Al

    JavaScript & PHP on a friendly basis with AutoComplete

    I recently put together a third example for the SAJAX project (http://www.modernmethod.com/sajax/); this one uses the concept behind Google Suggest, which is to populate an HTML input box with an array coming from the server.

    Very useful if you have lots of input boxes on a page, each which you want to have a different set of autocomplete data.

    The code could be extended to work just like Google Suggest; the hard part was figuring out how to get the array passed back intact. I tested it with >5000 items in the array, and it worked seamlessly.

    The code is at:

    http://www.hatwhite.com/sajax/

    2005-March : A Look at PRADO

    The presentation for March can be found here.

    I have lots more code up and running, and looking really slick. I’ll also be showing off some of the more interesting examples they have come up with. So, if you want to see PRADO in action, drop on by the meeting.

    See you there!