Categorized | News

JPHP Lib. 0.5 beta

Posted on 17 September 2002 by Demian Turner

Hi dear PHP user,

I’m very happy to announce the opening of the JPHP project web site.
JPHP is a 100% Object Oriented Framework which takes its essence from the java standard and class structure.
So JPHP is dedicated to large projects where good object architecture design is needed.

JPHP provides PHP users a system to import their classes similar to the one found in java. You will finally be able to organize your classes in a package such as com.jphp…..
As it was designed from design pattern models, JPHP makes use of the interface/abstract model inviting you to extended it as often as you like for class reuse.

Core and general features are :

  • 100% object oriented library
  • Extensibility and Reusability
  • Import and class storing similar to java
  • Many useful base classes
    • String utils
    • CSV file manipulation and mapping
    • Data Layer Abstraction
    • Custom Session and Context management
    • Config file and multi-config file reader

Upcoming applications developed using JPHP :

  • JPHP 2.0a : optimisation performance and design of JPHP 0.5b rewritten from scratch
  • JPHP MVC Framework (use the project page) : help to create web sites using the MVC design pattern paradigm for better maintenance

stay tune at :

Bookmark and Share

8 Comments For This Post

  1. Anonymous Says:

    It looks impressive, BUT ……

    The very fact that PHP is made to be flexible and easy to use and non-standard and loose structure are the very reasons it is so popular. It\’s a noble effort but encapsulating it like this will not be popular and it may well be more organized, it is a waste of time, imo.

  2. dxd Says:

    I\’m an experienced java user. So using tons of include or require and trying to remember the path of the class is quite a pain.

    With a little hierarchie and organization like perl and java, it become more easy to remember wher the classes are. I\’ve seen so much library using atrnge naming convention.

    JPHP do not mean to encapsulate but only provide an elegant way to organize a large project.

  3. Anonymous Says:

    Nuff Said… 🙂

  4. Anonymous Says:

    I am probably not as experienced as you (in Java), however I am very experienced in PHP. Regardless, my only point is that your audience will be small. That\’s not to say it\’s bad or anything. It\’s just that PHP code can be structurally written as it stands. It\’s the person writing it, not the wrapper, necessarily. This is more a philisophical argument, albeit an opinion, not an attack. If I want to write java, I use java. If I want more latitude, I use PHP. It\’s as simple as that.

  5. dxd Says:

    Yes i\’m waiting this version too !!! 🙂

  6. dxd Says:

    Sorry 🙂 I\’m not taking this as an attack or a offend !
    I really agree with you about the fact that calling directly phph base function is much faster, but it\’s a pain to maintain and customize !
    And, in real fact, if u are stand for a procedural programmer well jphp will not fit your need !

  7. Anonymous Says:

    To think of PHP as just a linear, vertical language if very dangerous. Initially, yes, PHP was just that. But, as it evolved as a valid and viable web language, so did the idea of PHP in the context of design.

    I work for a fortune 1000 (soon to be fortune 500) company who uses PHP (amongst other technologies such as Java (like Resin with Velocity), JSP, CFM, and ASP. We treat each one differently and never confuse one with the other in the application design. Basically, use the technology right for the job.

    Now, as for PHP and the idea behind this application framework; I have been involved in some extremely complex and large projects over the past 7 years. Through that time, we realized that because we use many sets of functionality over-and-over, we could create abstractions and have ourselves reusable components. We then realized that with later releases of PHP, PHP was/is becoming more and more of a OO focused language set and we suddenly had ourselves at our fingertips the ability to create factories, inherit objects, cache objects (serialization), etc.

    This lead to a home grown application framework that all-in-all works quite well. The negative remark I can make about it all is that we chose to use a few PEAR objects such as PEAR::DB (a mistake). Pear is inherently SLOWWWWW and we are now having to deal with that by flushing that all out and creating more homegrown solutions.

    With the release of the much anticipated PHP 5, many of the object and application design processes used will be able to be streamlined with things like modularized PEAR (compiled), much more standardized object models, etc (like honoring private methods, etc)

    So, for now I say go for it!!!! Any good high-quality application framework that actually makes developing huge complex applications and/or sites consistent and easier is a winner in my book.


  8. Luis Says:

    The religious discussions about languages brings recollections of the 80’s, when everybody said “oh, you can do *everything* with _________.” And that language would be BASIC, Clipper, Visual Basic, C, etc. There is a lot of “whatever you do I can do it (and better)”.

    For some reason, I see have seen a lot of postings with the motto “PHP can do whatever Java can do”. But that is not the point. You can do whatever you want with Assembler, but it doesn’t mean that it is the best choice for every situation, and the same applies to other languages.

    PHP is easy to use and learn, and it is quite extensible. The problem with PHP (and the dynamic languages in general) is that large applications can be very hard to maintain, and they depend too heavily on the skills of the developer. Making a mess is way too easy.

    Java is not perfect (no language is) and it’s harder to learn, but it forces the developer to follow better development practices. You can also make a mess, but it’s more difficult.

    Both Java and PHP enjoy of abundant libraries, and sharing is good. Java could make use of some niceties of PHP: instant satisfaction, lightweight, intuitive web development, and easy to deploy. However, nobody has been able to put those feature together, and I’m looking forward for something that does.


Leave a Reply



Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists



PHPkitchen recommends you also check out the following sites :

Accounting for Small Businesses

FreeAgent sign-up