Found 100 results for "javascript"
The search executed in 7.87101E-4 seconds. That's fast.
Gitana / 3.2 / Guide / Guide / CookbooksCookbooks We've put together the following Cook Books to help you get started coding using the Cloud CMS drivers. Content Modeling Cookbook C# Cookbook Go Cookbook Java Cookbook JavaScript (Legacy) Cookbook JavaScript 2.0 Cookbook Node.js Cookbook PHP Cookbook Python Cookbook REST API Cookbook Ruby Cookbook Scripting Cookbook
Score: 7.1137924
|
|
Gitana / 4.0 / Developers / Cookbooks / OverviewCookbooks We've put together the following Cook Books to help you get started coding using the Cloud CMS drivers. Content Modeling Cookbook C# Cookbook Go Cookbook Java Cookbook JavaScript (Legacy) Cookbook JavaScript 2.0 Cookbook Node.js Cookbook PHP Cookbook Python Cookbook REST API Cookbook Ruby Cookbook Scripting Cookbook
Score: 7.1137924
|
|
Gitana / 4.0 / Developers / Drivers / OverviewDrivers We offer driver libraries that you can drop into your new or existing web applications to make it very easy to interact with Cloud CMS. These drivers handle things like authentication state, concurrency and fast API calls over the wire. The following drivers are available: C# Go Java JavaScript / Node JavaScript (Legacy) PHP Python Ruby
Score: 7.065483
|
|
Gitana / 4.0 / Forms / Fields / Editor FieldEditor Field The editor field. The editor field uses the Cloud 9 ACE Editor plugin to render an inline editor that supports a wide array of textual content types. The editor provides a number of very powerful features and allows for the creation and modification of markup and code such as HTML, JavaScript, Java and other languages. Properties Title Editor Description Provides an automatically formatted and configurable input for entering currency amounts. Field Type editor Base Field Type text S
Score: 6.7975664
|
|
Building Applications with Ratchet JS MVCOver the past few days, I’ve had a chance to delve back into ratchet.js which is a JavaScript MVC framework that I had a hand in building in 2010. By this point, there are a lot of JavaScript MVC frameworks that you can utilize. However, at the time we built it, we were very inspired by sammy.js, backbone.js and knockout.js. A few points on these libraries: I particularly liked sammy.js for its simplicity. The developers of that library do a great job minimizing the work and also utilized an int
Score: 6.729461
|
|
Gitana / 3.2 / Guide / Guide / Content Modeling / ScriptsScripts Scripts are content nodes with a default attachment of type application/javascript. As with all behaviors, script nodes must implement the f:behavior feature. They must be bound to a node upon which to act (either a definition node or a content instance) using a a:has_behavior association. Script Interfaces If you elect to write scripts to implement custom behaviors, the following signatures can be used inside of your JavaScript: {{#article "policies/association"}}Association Policies{{/
Score: 6.531891
|
|
Gitana / 4.0 / Data Engine / Content Models / ScriptsScripts Scripts are content nodes with a default attachment of type application/javascript. As with all behaviors, script nodes must implement the f:behavior feature. They must be bound to a node upon which to act (either a definition node or a content instance) using a a:has_behavior association. Script Interfaces If you elect to write scripts to implement custom behaviors, the following signatures can be used inside of your JavaScript: {{#article "policies/association"}}Association Policies{{/
Score: 6.531891
|
|
Gitana / 3.2 / Guide / Guide / Features / Behavior BindingBehavior Binding QName: f:behavior-binding Marks an association as pointing to the implementation of a behavior for a policy on the source node. Valid target nodes include script nodes and rules. By applying this feature, you indicate that the target node script or rule should execute when the policy triggers. The target node (script or rule) must implement the f:behavior feature. For example, you might upload a JavaScript file that provides an implementation of a method to handle the afterNodeU
Score: 6.496303
|
|
Gitana / 4.0 / Data Engine / Aspects / Behavior BindingBehavior Binding QName: f:behavior-binding Marks an association as pointing to the implementation of a behavior for a policy on the source node. Valid target nodes include script nodes and rules. By applying this feature, you indicate that the target node script or rule should execute when the policy triggers. The target node (script or rule) must implement the f:behavior feature. For example, you might upload a JavaScript file that provides an implementation of a method to handle the afterNodeU
Score: 6.496303
|
|
Using the JavaScript driver to run an elasticsearch queryThe Cloud CMS REST API allows for elasticsearch queries against a branch. The API endpoint is POST /repositories/{repositoryId}/branches/{branchId}/nodes/search The payload is a JSON object containing a top-level property called "search" which wraps the elasticsearch DSL query. The JavaScript driver exposes this call on the Branch object using the searchNodes() methods. Examples: 1) Search for nodes containing the keyword "hello" in any property: req.branch(function (err, branch) { branch.trap(f
Score: 6.1471047
|
|
Gitana / 3.2 / Guide / Guide / Features / BehaviorBehavior QName: f:behavior This features indicates that a node provides the implementation of a behavior. This feature simply tags the node as a behavior implementation. The node must be a script or a rule. Configuration Behavior Example { "title": "My JavaScript file", "_features": { "f:behavior": { } } }
Score: 6.1364384
|
|
Gitana / 4.0 / Data Engine / Aspects / BehaviorBehavior QName: f:behavior This features indicates that a node provides the implementation of a behavior. This feature simply tags the node as a behavior implementation. The node must be a script or a rule. Configuration Behavior Example { "title": "My JavaScript file", "_features": { "f:behavior": { } } }
Score: 6.1364384
|
|
Cloud CMS Web and Mobile FormsOne of the things that Cloud CMS does really well is forms - specifically, web and mobile forms. If you’ve ever worked with the development of forms before, you know they’re pretty tricky to put together. You typically have back-end code that is responsible for taking a data structure, validating it and writing it to a database. And you also have front-end code which does user-facing data validation that is cosmetically appealing (pretty red boxes) and helpful. You need to think about customizin
Score: 6.0462427
|
|
Gitana / 3.2 / Guide / Guide / Actions / Execute ScriptExecute Script ID: executeScript Executes a script attachment of a node. The configuration for this action is described using JSON Schema like this: { "script": "if (typeof(node.data.count) === 'undefined') { node.data.count = 0; }; node.data.count++;" } Property Required Default Description script yes String containing the script scriptMimetype no application/javascript String methodName no The method name of the script args no The arguments for the method in the script
Score: 5.960659
|
|
Gitana / 4.0 / Data Engine / Behaviors / Actions / Execute ScriptExecute Script ID: executeScript Executes a script attachment of a node. The configuration for this action is described using JSON Schema like this: { "script": "if (typeof(node.data.count) === 'undefined') { node.data.count = 0; }; node.data.count++;" } Property Required Default Description script yes String containing the script scriptMimetype no application/javascript String methodName no The method name of the script args no The arguments for the method in the script
Score: 5.960659
|
|
Does Cloud CMS work with iOS, Android, Node.js, PhoneGap, JavaScript, HTML5 and any other popular frameworks?You work with Cloud CMS just like you would any other ReSTful HTTP/OAuth2 service. In addition, we have a library of drivers and developer guides that you can look to for guidance on building apps for the web as well as iPhone, iPad, Android, PhoneGap, Titanium and many other frameworks.
Score: 5.960659
|
|
Running Custom Scripts through Rules TestYou may want a complex action to occur in your project that is specific to your business requirements. We provide a number of out of the box actions that you can easily setup in a Content Rule, but sometimes the requirement goes beyond these functionalities. So, Cloud CMS allows you to write Javascript scripts that will run whenever a rule is triggered. In this example, we will be working with the following definition, call it custom:counter: { "title": "counter", "type": "object", "propertie
Score: 5.936654
|
|
Gitana / 3.2 / Guide / Guide / Command Line / Modules CommandsModules Commands The Cloud CMS command-line tool provides developers with a command-line driven mechanism that allows them to: register and unregister user interface modules deploy and undeploy user interface modules User Interface Modules are deployed from public Git repositories (such as GitHub) and consist of AMD JavaScript modules. These modules contain JavaScript, HTML, CSS, a JSON configuration file any additional client-side assets that may be used (such as images). For more information a
Score: 5.67749
|
|
Gitana / 4.0 / Developers / Command Line Interface / Modules CommandsModules Commands The Cloud CMS command-line tool provides developers with a command-line driven mechanism that allows them to: register and unregister user interface modules deploy and undeploy user interface modules User Interface Modules are deployed from public Git repositories (such as GitHub) and consist of AMD JavaScript modules. These modules contain JavaScript, HTML, CSS, a JSON configuration file any additional client-side assets that may be used (such as images). For more information a
Score: 5.67749
|
|
The Beauty of Cloud CMS ChainingChaining is a common technique that has been widely adopted by modern JavaScript libraries to chain method calls together. The goal of chaining is to produce elegant and concise code that is easy to understand or maintain. For example, if you are a jQuery developer, you may produce similar code like this on daily basis. $('#mydiv').empty().html('Hello Word!').css('font-size','10px'); However, most popular JavaScript libraries only support “static” chaining, e.g. DOM object manipulation. If the m
Score: 5.531885
|
|
Gitana / 3.2 / Guide / Guide / Workflow / Workflow Handlers / ScriptScript Type: script This handler lets you run a script based on the items in a workflow. The config for this handler is as follows: { "script": "my script" "mimetype": "optional script mimetype (javascript by default)" } When writing your script, you will have access to variables containing document and workflow data: workflow Current workflow workflowTask - Current workflowTask workflowData - Workflow metadata documents - Array of documents being processed by the workflow Example: Simp
Score: 5.460157
|
|
Gitana / 4.0 / Data Engine / Workflow / Workflow Handlers / ScriptScript Type: script This handler lets you run a script based on the items in a workflow. The config for this handler is as follows: { "script": "my script" "mimetype": "optional script mimetype (javascript by default)" } When writing your script, you will have access to variables containing document and workflow data: workflow Current workflow workflowTask - Current workflowTask workflowData - Workflow metadata documents - Array of documents being processed by the workflow Example: Simp
Score: 5.460157
|
|
Gitana / 3.2 / Guide / Guide / Authentication / OAuth 2.0OAuth 2.0 Cloud CMS supports OAuth2 for server authorization. OAuth2 provides a secure and robust method for authenticating clients and users to the server. It's become well-adopted across the industry by other vendors including Facebook, Twitter and Salesforce. We feel that OAuth2 is a best practice authorization mechanism for the applications that our customers build. As we move forward, we intend to support additional authorization schemes as they are requested. However, we find that OAuth2 i
Score: 5.417633
|
|
Gitana / 4.0 / Data Engine / Authentication / OAuth 2.0OAuth 2.0 Cloud CMS supports OAuth2 for server authorization. OAuth2 provides a secure and robust method for authenticating clients and users to the server. It's become well-adopted across the industry by other vendors including Facebook, Twitter and Salesforce. We feel that OAuth2 is a best practice authorization mechanism for the applications that our customers build. As we move forward, we intend to support additional authorization schemes as they are requested. However, we find that OAuth2 i
Score: 5.417633
|
|
The best way to enable content authoring with your JS frameworkNow that you’ve built that beautiful application in Angular, Aurelia, Ember, React - or the next big JavaScript framework - how do make your content authors happy? Easy: Think Headless. Never let a CMS dictate your presentation tier options. The field is too crowded and is changing too rapidly for pre-ordained “templates” to suffice. Instead, crank out that prototype in your desired framework(s) and utilise REST calls to query content a simple mockup will do returning JSON for each node Then go
Score: 5.3478947
|