Archive for the 'PRADO Watch' Category

20th Sep 2007

PRADO Watch: 20th September 2007

Well so much for increasing the frequency of PRADO Watch posts. Well my excuse was my wife having twin baby girls and I’m sting with it!

We have a lot for you today so I’ll try to be brief.

Just Checked In

Wildcards and IP filtering added to page configuration.
Pages attribute in the authorization rules can take relative page paths with wildcard ‘*’. For example, pages=”admin.Home” refers to the Home page under the admin directory, and pages=”admin.*” would refer to all pages under the admin directory and subdirectories.

IP rules are specified by a new attribute ip in authorization rules. The IP rules are used to determine if an authorization rule applies to an end-user according to his IP address. One can list a few IPs together, separated by comma ‘,’. Wildcard ‘*’ can be used in the rules. For example, ip=”192.168.0.2, 192.168.1.*” means the rule applies to users whose IP address is 192.168.0.2 or 192.168.1.*. The latter matches any host in the subnet 192.168.1.

TMemCacheSession
The new TMemCacheSession module provides access for storing sessions in memcache.

ForceSecureConnection
The ForceSecureConnection option was added to THttpRequest to force all generated urls to use the https prefix. If the url already is using https:// you can use $this->Request->setForceSecureConnection(false) to create links with http://.

PRADO Translations
There has been a lot of effort of late in the area of translating PRADO with kabayan putting in overtime on the Indonesian front, Eric.M and Tof have been upding and adding to the French, Shinya.K adding to the Japanese sections, xue making some updates for the Chinese translations and YOIS is doing a Spanish translation.

As a side note I’m looking for people to translate and publish PRADO Watch into more languages. More on that later.

TKeyboard
Sergey Morkovkin submitted his virtual JavaScript keyboard to the component repository back in March, well it mush have struck a cord as it’s now been added to PRADO well done Sergey.

TCaptcha and TCaptchaValidator
Well I guess xue cracked from the pressure and has included a CAPTCHA control to PRADO even with his resavations about it being beatable. Along with the validator this will be a very welcome addition to PRADO for some users.

TSlider
Hats off to tof for adding a JavaScript slider control to PRADO. Based on the script.aculo.us widget this is a great addition to the framework.

Consecutive Cells Grouping for TDataGrid
If you set the EnableCellGrouping in a column of a TDataGrid cell directly above of below each other will be grouped into one big cell. An example of what it may look like can be seen here.

The Community Component

XActiveDataGrid
Billed as full active DataGrid with the ability to do paging, sorting and editing, with praise from PRADO core developers like Carl. daneel has created a very excting component.

MediaHTMLCodeEmbedded
YOIS has created a cool component for easaliy adding videos and such to your page. With support for YouTou, Flash, Windows Media, Quick Time and Real players.

PRADO/Wordpress/BBPress integration v1.0
javalizard has out done himself with this on. In his own words.

“I’ve been wanting to share with all you something new and special. I’ve needed to use Wordpress Multiuser as blogging software (it’s supported and has new releases once in a while and people know how to use it) with PRADO. Auxiliary is the integration of BBPress too. Basically, it’s a single login system for prado, blogs, and forums.

Here’s what it integrates:

* Users management in PRADO uses Wordpress
* User roles in PRADO uses Wordpress
* Permissions and user capabilities in PRADO uses wordpress (more an extension of PRADO)
* User authentication in prado uses itself (sessions) and wordpress (cookies)
* initializes most of the Wordpress code libraries (so you get actions and filters!!)
* includes all the Wordpress plugins
* (and it’s relatively easy to integrate!)”

In The Wild

eioba.com
This amazingly well polished site, which is a social site based around articles users publish is a real gem of an application and well worth your time to poke around.

spcvideo.com.br
A DVD movie rental application helping with bad customers and occurrences of material damage, not paid rent, robbery etc….

Well I do have more to post but this is a good start, so another PRADO Watch will follow soon.

Posted in Ajax, PHP, PRADO, PRADO Watch | No Comments »

25th Jul 2007

PRADO Watch: 25th July 2007

We got some big happenings in the PRADO community, some cool new components and if you can get to New Delhi there’s a sweet PHP camp going to happen.

The PRADO Community Project

If you’ve ever wished that PRADO had a bigger more active community, then your wish is coming true. I’ve spearheaded a movement within the current community to really start to take the PRADO community to the next level. So come on over and see what we’re doing to generate more excitement and how you can get involved.

Just Checked In

TTabPanel
Tomasz Wolny (aka Ykee) has had his community contributed component YTabPanel added to the core PRADO framework as TTabPanel with some extra functionality added by Qiang Xue. Congratulations Tomasz and great work.

Focus problem with dynamic validator messages fixed.

As pointed out by vincedev in his thread there was a problem with form submits not happening due to the form elements moving around if you were using dynamic validation messages. That has now been fixed by tof06, thanks Tof.

The Community Component

Oracle support for Active Record
Marcos Nobre (aka marcosanobre) has submitted a patch to add ActiveRecord Oracle Drives to PRADO. He also open a thread in the forum so if you have any questions about it that’s the spot.

DNGFeed
Ciro Mattia Gonano (aka ciro) has created a complement component to TFeedService that helps you quickly build RSS, ATOM and OPML feeds. There is a caveat that the current release of PRADO (3.1) forces TFeedService to text/xml as the content type. This has been fixed in the SVN.

TDBContent
javalizard has post a cool component that lets you store that contents of the control in a database but treats the record returned as if it was template code being parsed by PRADO.

PRADO at New Delhi OSS Camp

Qiang Xue posted a thread in the forum about PRADO being at the New Delhi PHP Camp in India as part of the New Delhi OSS Camp as a whole. I can’t find any reference to PRADO on their site but lots of other PHP frameworks are mentioned so maybe they are still looking for a speaker for PRADO.

Posted in PHP, PRADO, PRADO Watch | No Comments »

10th Jul 2007

PRADO Watch: 10th July 2007

I’m still playing with the Prado Watch format, I may push it up to a weekly post. Please give me any feedback you may have.

Releases

3.1 finally gets it’s stable release, I like to think of it as “Prado Web 2.0″. You can now confidently put all the cool new features into your production code. If you have enjoyed Prado but weren’t sure about recommending it to your friends and colleges now is the time to send them that link!

Don’t forget to check out the demos section it has ten great demos and a screencast to checkout some even with tutorials that go with them. The release says there is a blog tutorial but for the life of me I couldn’t see a link in the demo area, so here is a direct link to the blog tutorial.

Just Checked In

TErrorHandler, which is the default error display class received the addition of two new methods getErrorTemplate() and getExceptionTemplate() this is going to make having your own custom error messages much more simple to implement.

Components

Tof has release a very exciting set of components under the name Csitemap. The release consists of four components, I won’t go into detail but the most exciting thing for me is it has a standalone site map module. This allows you to create a new style of menu with out having to write any code for how the pages are configured, just tell people downloading your menu component to use Tof’s CSitemapManager. If you’ve got some menu code sitting out there but haven’t released it because didn’t want to write all the configuration code, go create a components that sits on top of Tof’s work and your done.

In The Wild

Dario Rigolin of ePortal Technologie has just released www.foxcoverplay.com a Prado built site using Prado 3, I18N and Ajax.

Next Time On Prado Watch

I’ll be talking to Dario Rigolin about his experiance building www.foxcoverplay.com and some of the other work him company dose with Prado.

If you have any suggestions for other people from the Prado world you would like to read an interview for and what you would ask please post it in the comments.

Posted in Ajax, PHP, PRADO, PRADO Watch | No Comments »

20th Jun 2007

PRADO Watch: 20th June 2007

It’s been quite on the Prado front for a while but there are some very big things going on now that you will want to know about.

Knut not content with him and tof creating enough unit and functional test to chock a donkey is making a push to create a <a href=”http://www.pradosoft.com/forum/index.php/topic,7938.0.html” target=”_blank”>real component repository for Prado</a>. Knut has put down some ideas that were discussed at PradoCamp and is looking for feedback from everyone on this topic.

On a very similar note schmunk is trying to create a spec for <a href=”http://www.pradosoft.com/forum/index.php/topic,7791.0.html” target=”_blank”>Prado Portlets</a>. There is some great discussion and very interesting ideas so take a look.

Want to know how much Prado would have cost to make if you were paying someone? Well Knut let us know that <a href=”http://www.ohloh.net/projects/3182″ target=”_blank”>ohloh</a> has updated there site so now you can find that out, as well as some other interesting stats on Prado.

Posted in PHP, PRADO, PRADO Watch | No Comments »

12th Jun 2007

PRADO Watch: 12th June 2007

Looks like we have a new component TActiveHiddenField, written by Carl G. Mathise. I’m sure this will be used by people who want to send data back and forth via (Ajax) callback so that non Prado JavaScript code and do something with it. I personally thing this is a bit of a hack way to do this but I’ll leave that for another post on how I solve the problem.

In the forums maisam and others have been working on the problem of active paging in a grid. Check out the thread make sure you read to the end a lot developments have happened.

Did you know you can run multiple queryies in a single SQL Map, well I didn’t but you can. Well it seems ghesil know but was going one step further and trying to make two inserts with the second statement inserting the newly created record id of the first statement in Postgres. He worked it out heres how.

Prado has had lots of unit and functional tests added lately it is by far the area with the most activity in the project right now. It seems that they are looking for someone to help with the effort. Knut needs you! Knut is the one writing most of the tests and is willing to mentor any willing to lend a hand. I think this is a great effort and will really push Prado to another level in stability reputation and getting features resealed even more quickly.

Posted in Ajax, PHP, PRADO, PRADO Watch | No Comments »