Archive for the ‘AJAX’ Category

PRADO Watch: 09/20/2007

Wednesday, September 19th, 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.

PRADO Watch: Interview with Dario Rigolin of foxcoverplay.com

Thursday, August 9th, 2007

A music contest site based on PRADO 3 was posted in the forums looking very cool and bristling with multi media features. I just had to find out more. So I sent a message to Dario Rigolin from Italy, asking if he would share with me and the readers of PRADO Watch his experience.

Tell me a little about yourself?

I’m a PHP adopter since PHP3. I worked many years in IT industries doing huge integration projects around Europe for the largest telecom companies and financial institutions. I worked mainly in Java and C/C++ during my travels.

Tell me a little about ePortal Technologies?

In 2003 I decided to startup my company, ePortal Technologies with my dear friend (a librarian) to build innovative applications for libraries. We released our first application “Clavis” to handle large library consortia. But the design of that wasn’t good enough to jump into Web 2.0. Then one and a half years ago we decided to start a complete redesign based on PRADO. We are a young and fast growing company here in Italy. We have three large library consortia: Verona, Milan and Gorizia. We have more than 200 libraries using our software daily.

Tell me where PRADO fits into ePortal Technologies’ business?

We were already using PRADO 2.x but for ClavisNG we decided to use PRADO3 at a very early stage. We are now close to releasing our first beta and we are very happy about our choice. We built components we released to the PRADO community and also test the snapshot to report any issues daily. In our applications we use all features of PRADO. We also are investing time and resources to make a better PRADO Portal. The only issue we have with PRADO is the decrease in speed due to “large framework” overhead and large use of OO in any aspect of the framework. We use PHP accelerators to speed up execution and profiling to fine tune code and are working to put in place a series of lightweight components for data grids and lists. We hope the PRADO extension will help speedup the code. In any case, the flexibility in our development process and the ability to adapt and extend the GUI to the end user is fantastic and this is the most valuable asset. At the moment any web applications and dynamic websites we build are PRADO based.

In what way did PRADO help you the most when developing foxcoverplay.com?

FoxCoverPlay had requirements to be not only a simple WebSite for a Music Contest but to become a portal with many new features designed to make a community: blogs, voting, advertising, eCommerce and so on. The customer was in a position to say: “I would like to test if this idea is good. I don’t have tons of Euros to invest but if it’s successful then we will attract investors and we will grow.” At this point, we decided to build a website with “flexibility in mind” and for us:

IF develop(WEBAPP) THEN PRADO

. And this was a good move. After a few weeks the customer asked for “multilanguage” everywhere, localization in PRADO is easy. Then we discussed about integrating personal areas for artistis, news/blog for site managers and so on. We had in the past really bad experiences customizing existing CMS or eCommerce in PHP. Most of them are “single man” projects, and you need to “enter into the mind” of the developer to be able to customize it. We failed in the past. Spending one month to understand how to do something simple like a chart read from a database or customizing a layout is really bad, etc. In one month a PRADO developer is able to put in place the usual 5 things a customer is asking. And then we have a framework we can adapt to future needs. This is really really really true when your website layout is coming from a Web Designer you never knew or you’ve never worked with and also he knows only PhotoShop and you receive a PSD… You need full control everywhere… And the PRADO component architecture helps a lot to reuse a visual part of the page. Is like playing with LEGO!

Was there any area that you felt PRADO got in your way or slowed you down?

No.

Did you create any cool components while developing the site?

Not really. UI was really simple and we simply created composite components.

What was the most challenging part of creating the site and how did PRADO fit into it?

The most challenging was making a “nonweb” customer to understand what to do with a Web Site from a technical point of view.

What would you have done differently if you were to do it all again?

CMS feature like uploading documents. At the moment is a WebDav based access. Not a PRADO upload via form.

What is your favorite thing about PRADO?

How easy it is using Active Components.

What is your least favorite thing about PRADO?

Too many event phases (11 or 13 I don’t remember). “init”, “load”, “preRender”, etc. 99% of the time we needed “init” and “load” only. When you have pages with lots of components every event dispatching to simply do nothing can be costly. I was thinking to have a “PradoLight” with less event dispatching.

If the PRADO fairy gave you one wish what component or feature would you wish for?

PRADO extension!

-

I want to thank Dario Rigolin for giving us his time to share his knowledge with the community and hope to see more good stuff from him in the future.

If you enjoyed this interview and would like to see more please comment.