Meet The New PHP5 Toolkit, Pidget
Squirrel482 writes "People who like toolkits like QT and GTK but are generally ticked of by the state of GUI design on the web should check out Pidget. It is a just released GUI toolkit (along the lines of QT for the web) for PHP5. It features good object oriented design and is probably one of if not the first publicly available project to take advantage of PHP5. It's in early development and is still a little rough around the edges, but definately worth checking out."
First (to) Piss!
On a side note, does anyone see any security problems with the code so far? That's my only real worry. Also, should someone build some DB classes and hooks into this for an all-in-one type of addition. PHP can begin to be an include mess after a while (see previous statment about readable code), which I'd like to avoid.
US Democracy:The best person for the job (among These pre-selected choices...)
...that a server side widget toolkit is a usable thing.
All my instincts tell me that network latency and screen refreshes would be much better done if the widget manipulation were client side. And I'm sure this is still the case.
That this kind of thing is used is a testiment to how client-side web widgets have not been living up to their potential. Security problems, perhaps (ActiveX)? It's not like PHP applications come in with a squeaky clean reputation on the security front, either...
"Provided by the management for your protection."
Looking forward to using this once it sufficiently maturizes (i'll have to try and see how mature it really is).
Pidget sounds a lot like Java ServerFaces so it's nothing new. What I find annoying is that the "best" way to make a dynamic site keeps changing. Last week it was to have your site generate XML and use style sheet translation, this week it's to assemble objects on the server and have the server convert all the objects to html.
My Hello World is 512 bytes. But it's also a valid Fat12 boot sector, Fat12 file reader, and Pmode routine.
How is the stability on PHP5 doing? I haven't gotten to try it out just yet, but this interests me. The stability of this library also interests me of course! :)
Any user opinions there?
I checked out the site, and it seems that all of this could be done in plain old CSS. Why change PHP code at all when you can alter the look/position of the widgets in CSS and be done with it.
While most people plop presentation logic in with their PHP code doesn't mean it is the best way to do it. Use PHP to generate XHTML and use CSS to alter the presentation. No javascript needed, no multiple versions of a site for various browsers, no special "light" edition... handle it all in CSS.
Use standards, people!
Blocklevel: Practical Information Architecture
This doesnt' seperate design from code. Infact it just keeps them tied together. I can't take a program using pidget that dynamically gets data and throw it at something else.
XSLT does this, but let's skip XSLT. Let's use FreeMarker. It's a java templating engine. It has a little logic in it, but nothing like jsp and scriptlets. If I don't like the layout of how things are, I can leave my program the same and replace the tempalte.
This doesn't facilitate keeping data seperate unless you have the due-dillagence to create a Render.class and throw all your data at that. This feels more like CGI.pm where you tell it to render last.
When possible, you'd like to not have your data so close to your layout. Unfortunately, with QT, GTK, Java, you can't help that. So please, don't claim that it seperates it when it doesn't. All it does is give you another way to create HTML, something that can be done with true seperation with XSLT or some php template engine.
-
ping -f 255.255.255.255 # if only
PHP suffers from its "best practices" being scattered around various sources on the web, and not one central place to look when a "what's the most secure way to accomplish X" question comes up. Technically, you're right then, it's a programmer problem. But until the language designers, advocates, and general community rally around security being Job #1, you can expect more insecure apps to be developed with PHP.
Safe mode, my ass.
Pidget is a graphical toolkit that abstracts HTML in PHP5
So it's just another templating toolkit for PHP.
You don't have to know HTML (but make sure you learn pRadio, pSelect, pTextarea)
Won't make designers quit their Photoshops and Dreamweavers
Logicreate is a similar free PHP tool kit that works with your existing PHP-4 installation.
http://logicreate.com/
Here are some sites created with it:
http://tapinternet.com/index.php/clients/
Ty uses it to handle all of the online ordering for Beanie Babies, which can exceed $10 Million/month.
One cool feature is the context sensitive search. Since it presents different views to customers, partners, and internal people, when the CEO searches for "Secret Project" he sees the secret project, but when customers search, they don't see it.
DISCLAIMER: I have no direct finanical involement with Logicreate or Tap Internet. Well, they once bought me pizza.
The world will not get better through technology. We must seek to be better people.
Those left-hand-nav links don't work on Opera 6.11. Ho hum.
Site seems quite light on details right now - I might check it out once they update the screenshots to show it doing something interesting/unique. As it stands now it just looks like a toolkit for people that don't know how to make full use of CSS.
Is some of the stuff proposed in xHTML 2. I really want to write and serve RDF as my default content type on my site, while transforming it to xHTML for user agents not NetNewsWire / Amphetadesk, but a lot of the fields that RDF uses have some interesting near-equivalents in the next xHTML. Also, I'm really looking forward to object fallback where an video falls back to an image, which falls back to text if need be. Nice stuff, and good for semantics and screen readers.
Heute die Welt, morgen das Sonnensystem!
Nothing that can't already done with any number of form automation/templatting systems already out there. And where's the docs?
I'll stick to mod_perl, CGI::Application, HTML::Template and CGI.pm. But that's my opinion. Everything I could possibly need for dynamic forms with flexible presentation.
Why are most Linux distributions at least 1.8GB? Because people keep creating ad-hoc languages and toolkits. Once you create a new programming language or toolkit, it's very hard to kill it... If we cooperated on the non-important stuff, things would be better. But now we just have fragmented languages and toolkits.
I'm curious (since their web site doesn't offer much info, and the downloaded src didn't offer much more) as to what the difference is between this and these:
PEAR::HTML_Form
PEAR::HTML_QuickForm
On the surface, they seem to solve the exact same problem.
putfwd.com - 1GB Free file storage with a twist
Oh, someone is working on it.
It's just going to take them a lot longer to get it done.
You may be interested alos in looking at an example of how and why the developer of formerly famous PHP-based forum has moved (re-wrote) the whole thing to Plone.
Here are some Zope successfull stories from the real market.
"I shall explain this by waving my hands about in an appropriate manner." -- Cambridge University Math Dept.
This sounds suspiciously like ASP.NET for PHP
Once you go InterJinn you never go back (unless your name's Arnold). It rolls form creation, validation, templating, etc. etc into a nice consistent framework. I've been using it these past few weeks and all I can say is wow!
http://www.interjinn.com