News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Integrating Polymer/Dart and Symfony - Part 1
January 15, 2014 @ 10:43:31

On the SitePoint PHP blog today Taylor Ren shows you how to integrate the popular PHP framework Symfony with Polymer/Dart to make a dynamic web application. In this first part of the series, he focuses on just getting things set up and working and creating the first template to populate with data.

In this 2-part series, we are going to look at how to integrate these two powerful tools together, i.e. to run Dart (after compiling to JavaScript) in a Symfony website to add some dynamics. We will also discuss the work-around to avoid JSONP to access data from a remote server where the user has no direct control and the RESTful API called has no CORS enabled. Finally, we will highlight the limitation of the integration and seek the attention of the Dart team to solve the issue and make Dart a better platform.

He starts off with the server-side of things, using Symfony to create a simple template for the site used by the default controller. He then moves to the client-side, showing how to bootstrap Dart and include the resulting Javascript into the page. He includes the markup to add to the page to make things work and the results of his simple "Quote of the Day" application.

0 comments voice your opinion now!
polymer dart tutorial symfony javascript part1

Link: http://www.sitepoint.com/integrating-polymerdart-symfony-part-1

blog comments powered by Disqus

Similar Posts

Developer.com: PHP 5 OOP - Delegation and Custom Exceptions

Web Developement Blog: Curl: Location redirect while open_basedir is set

Mike Willbanks' Blog: Android C2DM with PHP and Zend Framework

DeveloperTutorials.com: WordPress Customization

Matthew Weier O'Phinney's Blog: Responding to Different Content Types in RESTful ZF Apps


Community Events

Don't see your event here?
Let us know!


podcast example series interview laravel5 laravel api release php7 library security language voicesoftheelephpant introduction framework community version extension opinion list

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework