-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get rid of the PHP components #22
Comments
latest web shizzle, fo real |
AngularJS is a MVW framework, not a "lets put some components on a page" lib :-P If you wanne be a webhipster, I think http://www.polymer-project.org/ is the thing for the job? :D Or just use jquery :D |
watch out, looks like we have an expert here :p |
It's interesting how I find more and more negative comments when something is using jQuery which was the ultimate new web technology a while ago. |
Wow. Okay. With something like polymer I really need a good IDE. When you have an arbitrary number of new Tags in your HTML which are inclusions of components, you need a "click to get to the declaration" style IDE. Any Ideas? aptana? |
No idea. No experience with that. You may wanna have a look at the Polymer I/O videos on Youtube, maybe you can see what the Google guys are using. |
How are you intending to get the RNV data via Javascript? What about x-domain security? |
ezpz, proxying
By the way, where is the infoscreen served from? Please add the URL to the repo description. |
? Proxying via what? Isn't the intention behind that infoscreen runs completly client side? |
Proxying via the webserver that provides the infoscreen. |
aaah sorry, I wasn't aware that we really need a web browser. If we skip the "itdLPxx_dmlayout" layout parameter, we will get a 100% component without any "gadget" style. Should directly work in a div container, so should be no problem to get rid of that RNV.php |
IIRC the infoscreen in the space is running locally on the rpi powering the screen. For the outside world, it's available at http://cosm.tiefpunkt.com/infoscreen. The RZL Space API endpoint is also located there. |
Okay so we need to keep
we can get rid of rnv.php and calling the ajax.php in main.js (and use xively.js instead) sounds half-way decent to me. Maybe the spaceAPI endpoint should be its own repo though? |
It's in here because it needs the same sensor values, and just uses the same caching. But yes, might make sense to move it into status.raumzeitlabor.de or its own repository. |
nope. When that is removed, the response doesn't contain any time table as HTML. But that would still need quite a bit more parsing work than using the gadget layout and stripping the "width=150px" from the one it's in. |
All that crusty old PHP has to go.
The main thing it really does still is getting the RNV content and the non-graph Xively data which can all be done in JS.
Maybe even use a new framework for it all like Angular.JS (suggested by the brahson @else )
The text was updated successfully, but these errors were encountered: