Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : Does findOne supported to take object from "data" field

It seemed to me that it was by design in JMVC.

View Article


CanJS server side ?

Hi,is it possible to use CanJS on the Serverside using Node/Expressjs?

View Article


Re : CanJS and Node.js

I am also interested in using canjs on the server as well as on the client side.Interesting would be to offer client and server side template rendering which would make the usage of phantom js no...

View Article

Re : CanJS server side ?

You may you what ever you want backend with can.js, If you understand what can.js is you understand that there can not be limitations on backend.

View Article

Re : CanJS server side ?

Thank you for you answer,I fully understand that I can use CanJS in conjunction with any kind of REST backend.But I ask if i can you can.js running on the server side.In that case we could render pages...

View Article


Re : CanJS server side ?

Sorry didn't read your message carefully.You may build searchable pages with steal. (I haven't tried it though)https://docs.javascriptmvc.com/docs.html#!steal.htmlWhat else you may need can.js on...

View Article

Re : CanJS server side ?

Thank you for you answer,I already seen steal.Is there also a way to use the html5 history api instead of hashbangs ?In that case we could you real URL instead of #! and we wont have to deal with the...

View Article

Re : CanJS server side ?

I believe a CanJS PushState plugin is in development.

View Article


Re : Best way to share data between controllers?

Your approach sounds right. Create the list of data in a "master" controller that will pass it along to each component (sub-controller) that needs to use it. Search this forum. This is a topic that has...

View Article


Re : Control cannot listen to scroll event ?

Does the scroll event not bubble? I cannot find any info about the scroll event. 

View Article

Re : Control cannot listen to scroll event ?

Scroll doesn't bubble. Controller can listen to it, you'll just have to make sure the controller is on the element being scrolled itself. Otherwise, you could synthetically force a bubble, such as...

View Article

Re : Duplicate files been loaded

That shouldn't be occurring, we do check for duplicates within Steal. Do you have a failing fiddle or test case by chance?DeveloperBitovi

View Article

Re : Best way to share data between controllers?

Thanks!

View Article


Re : Best way to share data between controllers?

I can conform the count's statements. I have tried various approaches and this is the best way to go. If you have nested resources, make sure you share the parent object, this will keep everything...

View Article

Re : Control cannot listen to scroll event ?

Yes : scroll events do not bubble.In my updated fiddle, I used the same structure with both a can controller and a $.scroll, $.scroll handler is called, not the can controller handler.

View Article


Re : Odd binding issue with view + helper + Observe.List

Thanks for the <p> fix - missed a closing bracket on the fiddle.I'm even more confused now though. I can't see why moving the call to l.asOptionsC() inside the function-call makes a difference....

View Article

Destroy deleted models

I have a solution where an object model is being kept in sync via pub/sub (Faye) between various clients. This all works fine with creates and updates, where I can just fetch the models from the server...

View Article


Re : Control cannot listen to scroll event ?

try this: http://jsfiddle.net/ME7Fx/32/

View Article

Re : Control cannot listen to scroll event ?

Thank you nanotron.Does that mean that can.Control can only listen for bubbling event ?I think  this is a  CanJs issue : isn't it ?

View Article

Re : Best way to share data between controllers?

You may find this Gist helpful.https://gist.github.com/3380049

View Article
Browsing all 3491 articles
Browse latest View live