Added: 1 year ago
From: nettutsplus
Views: 17,095
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Comment removed

  • I know Devbhagat probably got past his issue, but for everyone else's edification:

    There is no longer a "render"; you use "tmpl" instead.

  • Hi,

    Just tried to do it at my own today...

    It gives me an error. render is not a function

    $("#listTemplate").render is not a function $("#listTemplate").render(data­).appendTo("ul");

    

  • This seems way more complicated than .append() 

  • @crawlinoc - One thing I could think of is to have the organizing of the data into proper html tags from the server side to the client side .

  • great stuff. what is the real life use?

  • @crawlinoc 1) offload the templating logic from server developer to client developer 2) said client developer can make MVC style frontends easier without mixing display application state logic.

  • Really potent, thanks for this video.

    Regards from Spain.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more