davidwoo
Posts: 53
|
Posted: 07/04/2015, 4:32 PM |
|
Did anyone succeed using angularjs with CCS especially {{variable}} ?
|
 |
 |
eratech
Posts: 513
|
Posted: 07/09/2015, 5:45 PM |
|
@davidwoo - I've not done projects with angularjs but I suspect CCS wouldn't like the {{variable}} syntax as it probably interferes with the existing templating that uses {variable} (at least in PHP - you didn't mention the language)
I believe you could redefine the '{{' to something else and try that?
http://stackoverflow.com/questions/12923521/angular-js-custom-delimiter
Question though - what is angularjs providing for your project that CCS isn't?
Cheers
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
 |
 |
davidwoo
Posts: 53
|
Posted: 07/11/2015, 9:28 PM |
|
Two way data binding
|
 |
 |
davidwoo
Posts: 53
|
Posted: 07/11/2015, 9:28 PM |
|
|
 |
 |
eratech
Posts: 513
|
Posted: 07/13/2015, 2:06 AM |
|
Understood - it is a nice feature.
So are you using CCS for designing the screens, and then hand-adding the angularjs tags, and if so, what are you using for persisting to the DB?
I have only had a slight introduction to angular and want to see what is possible, but I will be using CCS for a while due to some big projects that I simply couldn't get done without it.
But an angular front end with persistance to a DB using one of CCS Services could work (I think there were some examples of similar using Sencha framework on the front end for mobile)
Cheers
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia |
 |
 |
ccsminer
Posts: 157
|
Posted: 11/30/2015, 8:32 AM |
|
May be possible by populating CCS page templates using CCS template variables - replacing the CCS template variables with angular JS script - after CCS has read and processed the page template.
Perhaps someone here has been savvy enough to get this working. :)
|
 |
 |
|