GithubHelp home page GithubHelp logo

phaux's People

phaux's Issues

Error handeling

Need good PHP error handling. I stole some code from somewhere for WHError and 
it does not work 
half the time. 

It should not be to had to do some decent PHP error handling. PHP gives you the 
ability to print out 
the stack but it does not do so by default. 

Also fix up the Exception code so it's a little nicer. 

Original issue reported on code.google.com by [email protected] on 11 Apr 2007 at 4:14

AJAX Links

Implement "Live Callbacks" in Phaux. 

A Live Callback would be a link that when clicked would call a callback than 
replace the content of a 
specified DIV or possibility multiple divs (or other HTML elements that have an 
ID). 

Something like 

{{{
$html->anchor()->with("Label")->liveCallback("callbackName",array(arguments,...)
,"divName");
}}}


Original issue reported on code.google.com by [email protected] on 10 Apr 2007 at 8:38

REServe query language

The current REServe query language is a little less than ideal. 

Look into improving the query language to be more clean and flexible. Maybe a 
simple query 
language?

Original issue reported on code.google.com by [email protected] on 16 Apr 2007 at 4:46

Date Classes

Need  date classes that works well with Phaux and REServe .

Currently using the Pear date class and it's not that good. 

I would like to see a date class that could deal with any arbitrary date but 
lets start with the Unix 
time-stamp range first.

There should be 3 classes. WHDate, WHTime, WHDateAndTime. I might want to 
emulate multiple 
inheritance for WHDateAndTime but using __call .



Original issue reported on code.google.com by [email protected] on 10 Apr 2007 at 7:00

Callbacks cache

In the class WHSession, you don't remove all callbacks to keep only the 
maxCallbacks last ones:

    public function newCallbackKey(){
        /*
        ** Try to keep the callback size down
        */
        if($this->maxCallbacks() <= count($this->callbacks)){
            unset($this->callbacks[count($this->callbacks)- $this->maxCallbacks()]);
        }

        return ++$this->lastCallbackKey;
    }

This problem occurs memory problems when the number of saved callbacks grows 
too much.
So, to fix this problem the method must be:

    public function newCallbackKey(){
        /*
        ** Try to keep the callback size down
        */
        while($this->maxCallbacks() <= count($this->callbacks)){
            unset($this->callbacks[key($this->callbacks)]);
        }

        return ++$this->lastCallbackKey;
    }

Fréd

Original issue reported on code.google.com by [email protected] on 1 May 2010 at 11:15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.