I am creating a form in EXTJS 3 and I want to separate stores, functions and views.
I would like that in the view when pressing an event, it calls a function, but that function is in another file and that way it is imported. The same thing I want to do with the stores.
Although in the stores the route is indicated in the AJAX, I do not know how to do it for the functions.
How can you use those files in those ways (modulately)? By some extend? Does it require?