Webix Jet + Symfony

How to configure Webix Jet to work with Symfony PHP framework?

I think that the problem is that the symfony uses routing.

I changed all of the paths in index.html file to point to correct webix files but i get the 404 error for:

http://localhost/Symfony/web/app_dev.php/myShowWebixFunctionInSymfony/app.js

Nobody using Symfony backend?

But maybe this is more general. Is there a way in Webix Jet to define the path to app.js ?

Ok, i found the error.

It seems that Webix Jet in using RequireJS for “connecting” JS modules.
A very useful article for those that want to understand the basic code behind Jet is here:
http://www.nicolasbottarini.com/using-requirejs-for-symfony-2-development/

Im my case i found out that you in “index.html” when including require.js you also have to define the path to the first JS of Webix Jet.
So here:

{{script type=“text/javascript” data-main=“app” src=“libs/require.js”}}{{/script}}

…the data-main=“app” …the “app” should be the path to the app.js without extension. If this app.js is not in the root(like with the framework like Symfony), then you have to define its path here…like data-main="/somefolder/otherfolder/app".

Hope your project is (or went) well! I’m using Slim, which is somewhat similar to Symfony. Do you have any advice on putting this together? I have already created all of the routes using Slim, so now I’m having to back track because I want to use Webix Jet.

Any advice would be appreciated.