PHP-Ext Blog



PHP-Ext 0.8.2 Released


Just a month after the first release, version 0.8.2 its ready. I'm sorry to tell there is no more support for PHP4 since the whole project was refactored to comply with PHP 5 Strict Standards and Zend Framework Coding Standards. This means getters and setters, access levels for properties and methods, among other nice changes.


The good thing is that this gave me the opportunity to document everything: Now every class, property and method its documented accordingly to Ext JS Api Docs. Among other changes, somre classes where moved like Panel, TabPanel and Window to be accordingly to their namespace. There are some new helpere Classes la the strong typed collections (see changelog) and other like ToolConfigObject and IToolbarObject to help the implementation of strong typed collections. The purpose of this is trying to give a hint to the developer of how exactly the class should be used and what kind of objects should be used as parameters.

Another nice change is the implementation of strong typed layouts. This idea was took from the GWT-Ext Project where layout are not set by a string with the layout shortname, but with the corresponding object which has the parameters of that specific layout. Additionally, when adding a component to the items collection of a container, there is a second parameter containing the layout options avaliable for that item according to the layout of the container. This means that if a container its using an AnchorLayout, the item can/should be added with a AnchorLayoutData. This correspondance is checked when adding the item, meaning you will receive an error if the item its added with a layout other than the valid ones for the containers layout. This will save long hours of debugging and fighting because the widget its not showing the ways its supposed to. Anyways, I hope it helps.

The page was changed to. It took a very minor design change, how you like it. And, of course, this blog was added to post News and Announcements, so please, add it to your feeds.

What's to come? Well...Now that the refactor its done, I guess the only path is to implement as many widgets as possible. For instance I have in mind the MessageBox, Viewport and BorderLayout, maybe the Drag + Drop namespace, I don't know, you tell me, write about it on the Discussion Group.

I almost forgot, some people have been raising their hand to help in the project. I want to apologize with all of you because I haven't responde to your mails, its just I've been to busy with this and I wanted to have the complete refactor running before including other people 'cause I was changing the way everything works. It was too much, I prefered to go solo. I'll be organizing things up to gather you all for a meeting on how we can collaborate to this project to make it better. Thanks for the interest.

Nothing more to say... by now. Download the new version now and let me know what you think, and if you find any bugs/issues, please post them on the googlecode page.

CHANGELOG 0.8.2

- No more support for PHP4
- Complete refactor to comply with Zend Framework PHP Coding Standard (http://framework.zend.com/manual/en/coding-standard.html)
- Class naming: i.e.: class renamed from ExtJsonStore to PhpExt_Data_JsonStore.
See API documentation.
- Scopes. Methods like getConfigParams are no longer publicly visible.
- Constructors. Should not affected library usage except for user extensions;
- Class Constants: Constants declared with define() where moved to class contants.
See API documentation.
- Strict Standard compliant.
- Complete PHPDoc for classes, getters and setters
- Panel, TabPanel and Window where moved from PhpExt/Panels to PhpExt/ to reflect the namespace
- Strong typed collections added: ComponentCollection, ListenerCollection, ButtonCollection,
ToolConfigObjectCollection, FieldObjectCollection, ColumnConfigObjectCollection,
BaseItemCollection (Menu), IToolbarCollection. See API Documentation.
- Layouts changed to use strong typed objects for layout config and layout data for the items
of the container.
- Panel tools support
- SplitButton added
- Examples updated to comply with the new coding standard


Trackbacks

No Trackbacks
9 Responses to “PHP-Ext 0.8.2 Released”
Display comments as (Linear | Threaded)

Matthias
Posted On April 16, 2008 at 05:43
Hi, your download doesn't work @google
can you sent my the full package - please?!?


thx
Manuel
Posted On May 9, 2008 at 04:36
Hello,
There is an error in the file PhpExt/Data/JsonReader.php in line 17. It must change:

include_once 'PhpExt/Data/DataReader.php';
Sergei
Posted On May 9, 2008 at 09:36
Thanks Manuel, this issue has already being solved on the SVN trunk, revision 12. You can checkout the latest version with this and other fixed issues from http://code.google.com/p/php-ext/source/checkout.

Please report bugs and issues on http://code.google.com/p/php-ext/issues/list so everybody can have proper track and knowledge of them :-)

Thanks for the comment.
Golikov
Posted On May 9, 2008 at 14:49
Hi!
It will be nice to compile ext.js on fly, using only needed elements. Will it happends?
Boyce
Posted On May 25, 2009 at 09:47
Good evening. But be, as you have been, my happiness. Help me! It has to find sites on the: Payday Loan. I found only this - payday loan online. But the fda decided to review synthroid and other thyroid medications amid fda might require the withdrawal of synthroid the most popular thyroid. I have graves disease and have been euthroid for about months and on. With love ;-), Boyce from Maldives.
Golikov
Posted On May 9, 2008 at 15:10
And I have question about installing. Can I install library in custom folder like /modules/PhpExt/ ?
And where in this case ext.js must be?
Sergei
Posted On May 9, 2008 at 16:36
Yes you can do that. About extjs location, you can place it anywhere you want as long as your html file points to that same location. Actually, PHP-Ext alone, has no knowledge of such library, it will just generate the proper javascript but the html file that contains the javascript must have a valid reference to the Ext JS library files.

Let me recommend you to join the Discussion Group (http://groups.google.com/group/php-ext) so you can post your doubts publicly so anyone can learn from them too.

Happy Coding
ahmed
Posted On January 30, 2009 at 13:27
please i cant start with php-ext i don't know from where i begin i believe its great library but where is the point of start?????????
Xylona
Posted On February 17, 2010 at 05:25
Hi everyone. Enjoyed browsing through the site. Keep up the good work. Help me! Can not find sites on the: Baclofen buy online. I found only this - oral baclofen side effects. This is a dopaminergic of sarah and i at some sickness seek rather then into utah, baclofen. Baclofen, orphenadrine is most almost disconnected against spasticity and medication vomiting of other effects carrying agency, conversation, and industry. Best regards :eek:, Xylona from South.

Leave a Reply

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA