Hi all. New member. I've been tasked with taking a Sencha 1.1 application, and migrating it to 2.0.
As I've been researching for the last few days, something has begun to concern me more and more:
The thinking is that they can then just retrieve values and settings via the php page, and "inject" the values into the page with "<?php echo ....?> tags.
Is this a good practice? My gut feeling is that it's not a good idea for the following reasons:
I could be wrong about this - I am very new to Sencha - so would appreciate some input from more seasoned Sencha developers.
- Fundamentally, isn't the premise that Sencha is a client-side application - encouraging separation from the server side? I would have assumed that the application runs on the client, and calls (such as JSON queries), are made to retrieve data/configuration variables.
- Does this preclude the advantages of Sencha 2's ability to only instantiate/load classes as they are needed because it is looking for "view.js" for example, in the views directory, rather than "view.js.php"?