COCOMO and Ajax

Cocomo is currently used mainly as an engine for exchanging data in real time for Flash/Flex. It can
also be exploited by web sites of Ajax/apps? Client-side frameworks using as Smartclient,.
Javelins, Dojo, Cappuccino, etc. ?

Hi VerlSnake,

At its core, Cocomo is designed as a Flash/Flex technology - for example video VoIP and webcam is not taken care of by Ajax - so we focused more in ensuring that this development model had a sense. We are also currently running exclusively with two-way persistent Sockets provided by Flash Player (RTMPs). Long term, I can see cases where embedding Cocomo in Ajax would be appropriate, but for now our goal is really improve on what we have in Flash.

Thank you
Nigel

Tags: Adobe LiveCycle

Similar Questions

  • Novice question: PhoneGap and AJAX

    I having difficulty getting even basic AJAX to work with PhoneGap developer and wanted to see if someone could help me.

    I'm currently testing using the W3Schools PHP AJAX sample, so I can sort of "accumulation" my PhoneGap/AJAX capabilities to develop the functionality of user login for a mobile application that I've been responsible for creating. But, as someone who is not a programmer by any means (and that tends to confuse networking questions... don't even start on proxies!), I'm baffled to even try to get the W3Schools sample to work.

    The sample, which can be found here (AJAX PHP), is as follows. (For those who, like me, also not by spirit program and who think better visually, the sample has a text box where if you type the first few letters of the name of a person, it will try to find names starting with those letters in the database file that it invites. It displays the real-time results of what it finds in the area of text that the user types).

    HTML/JavaScript/AJAX:

    < html>
    < head >
    < script >
    function showHint (str) {}
    If (str.length == 0) {}
    document.getElementById("txtHint").innerHTML = "";
    return;
    } else {}
    var XMLHTTP = new XMLHttpRequest();
    XMLHTTP.onreadystatechange = function() {}
    If (xmlhttp.readyState == 4 & & xmlhttp.status == 200) {}
    document.getElementById("txtHint").innerHTML = xmlhttp.responseText;
    }
    };
    XMLHTTP. Open ("GET", "gethint.php? q =" + str, true);
    XMLHTTP. Send();
    }
    }
    < / script >
    < Sandwiched >
    < body >

    < p > < b > start typing a name into the field below:<b/b/b><p/p/p>
    < form >
    First name: <input type ='text' onkeyup ="showHint (this.value)">
    < /Form >
    < p > Suggestions: <span id ="txtHint"></ span><p/p/p>
    < /Body >
    </html >

    PHP file:

    <? PHP

    Table with the names

    $a [] = 'Anna ';

    $a [] = "Britain";

    $a [] = "Cinderella."

    $a [] = "Diana."

    $a [] = 'Eva ';

    $a [] = 'Fiona ';

    $a [] = "Gunda";

    $a [] = "Hege";

    $a [] = 'inga ';

    $a [] = 'Johanna ';

    $a [] = "Kitty";

    $a [] = "Linda."

    $a [] = 'Nina ';

    $a [] = "Ophelia."

    $a [] = "Petunia".

    $a [] = 'Amanda ';

    $a [] = 'Raquel ';

    $a [] = "Cindy."

    $a [] = 'Doris ';

    $a [] = "Eve."

    $a [] = "Evita";

    $a [] = "Sunniva.

    $a [] = "Tove";

    $a [] = "Unni"

    $a [] = "Purple";

    $a [] = "Liza."

    $a [] = 'Elizabeth ';

    $a [] = "Ellen."

    $a [] = 'Michael ';

    $a [] = 'Vicky ';

    get the q of URL parameter

    $q = $_REQUEST ['q'];

    $hint = "";

    Search all advice table if $q is different from «»

    if ($q !== "") {

    $q = strtolower ($q);

    $len = strlen ($q);

    {foreach ($a as $name)

    If (stristr ($q, substr ($name, 0, $len))) {}

    If ($hint = "") {}

    $hint = $name;

    } else {}

    $hint. = ", $name";

    }

    }

    }

    }

    Never out "no suggestion" If no reference has been found or out of correct values

    echo $hint = ""? "no suggestion": $hint; "

    ? >

    Test the HTML file in my browser, everything works perfectly.

    However, do the above in a project PhoneGap and test it on my Android phone, the possibility of dismissal of name does not work. And of course thanks to the AJAX control is not running.

    Anyone know how I can fix this problem? I've already put the following in my config.xml file and nothing changed:

    < access origin = "" * "subdomains ="true"/ >"

    Thanks in advance.

    You pouvez host PHP files locally on your dev machine, although I suggest the implementation of a virtual test machine so that you don't have to muck about with the main configuration of your dev machine.  In addition, if your virtual machine is a linux VM, which will give practice you when you put something in place elsewhere, because chances are good that you it would be deployed to a linux machine in the cloud. There are many devices out there who have a LAMP stack put in place of the out-of-the-box (LLinux Apache, MySQL, PHP) - for example, https://www.turnkeylinux.org/lampstack.

    As long as your mobile device is on the same network as your development computer (/VM), you can connect with a local IP address (like 192.168. *). You must also be able to connect using your local hostname (such as your - macbook.local) or something similar. It depends on how you configure when you create a virtual machine, but virtual machines live generally on your network with a different IP address on your dev machine. (This behavior, however, is usually the default.)

    You can also use environments such as Cloud9 and similar services to test the code like this. They are not suitable for production code, but you can run a PHP script (or node, etc.) and essentially have an external server underpowered with little or no effort on your part.

    Side note: personally, to avoid 'localhost' even during the test, because 'localhost' can mean several things depending on what you are testing for:

    • essay on a physical device: made localhost refers to the device
    • testing on an emulator: done localhost refers to the emulator
    • tests on iOS Simulator: done localhost refers to the machine of dev
    • test in a browser on your dev machine: locahost refers to the machine of dev

    If you use host names/IP addresses, there is no ambiguity, so why I suggest to use it.

    Finally, don't forget to check that your firewall accepts external requests on port, that you intend to use.

  • CF and AJAX editable grid

    I found a tutorial that does not work with data in a database. JavaScript RegExp error. Are there other tutorials to populate a grid of data and then editing, deletion and insertion of a new line using AJAX?

    Azadi, thanks for confirming this. Is there a URL where I can find information like this for me? I did a little research on the subject of CFGRID controls and ever come on no precise list of the features that work in applets or HTML, but no Flash. It would be a good thing to know. I understand, however, some of the new features that is available with 8 CF. Thank you for your help, Azadi.

  • Region of the text HTML and AJAX Editor

    I have a pretty simple question here, but I'm not sure of the answer. I have an application that uses parts of the HTML text editor to allow the user to enter the HTML content. It's good and all until I was thrown a curve ball. I have a fully fired AJAX form page which uses a slightly modified version of AJAX of Denes Kubicek for Ajax solution get multiple values. The main thing that is different is that my code has been updated to use $s to set the values rather than the method that he used as a very old example. Just a heads up here, were still under the final version of APEX 3.x.x here so APEX 4.0 specific code does not work for me. The problem I encountered was that the editors of text HTML do not update to JavaScript. Can someone tell me what I have to do in order, to AJAX, these fields (specifically speaking side JavaScript procedure to replace the value of the field with what was pulled just dynamically).

    Hi David,

    You can get the text in the HTML via Javascript Editor. Try these (P6_FCKEDITOR is my name of the element):

    FCKeditorAPI.GetInstance('P6_FCKEDITOR').GetData();
    FCKeditorAPI.GetInstance('P6_FCKEDITOR').SetData('Hello world!');
    

    Hope this helps,
    John

  • Java script and Ajax support

    I was wondering what version of java script makes blackberry bold 9700 supports. Also does supports Ajax?

    According to this article in the knowledge base, Ajax is not supported by the BrowserContent class. If you are interested in the browser itself, this question is probably better asked in the web development forum. Also, see this video of knowledge base.

  • application settings and Ajax

    I'm tring to make it work, but somehow, I am not able to write data to the application G_APP_NUMBER setting. No one knows what wrong with this code?


    function get_nr (pPage, pNr) {}
    var l_Return = null;

    get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is class', 0);
    Get.Add ('G_APP_NUMBER', $v (pNr));

    gReturn = get.get ();

    Get.Add (l_Return, 'G_APP_NUMBER');
    If (l_Return == "0") {}
    Alert ("The number" + $v (pSapnr) + "does not exist")
    };
    get = null;
    }

    Hello

    I have change codes in my last post.
    Judge people for the value debug ajax reference

    BR, Jari

  • The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers

    The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David powers:

    This book would help me learn more about Spry and Ajax and how applications may be lodged with them, if I have my e-commerce site works on a compiled C code cart (ShopSite) but supports scripts PHP server-side or is - this only for shopping carts based on PHP itself (like X-Cart)?

    I'm not sure. Someone please let me know if I can buy this book. Thank you.

    ahsenabro wrote:
    > 1. What I need to be a developer/programmer to learn from this book or
    > can a savvy entrepreneur can also get some gems out of it and direct sound
    > programmer?

    You don't need no prior knowledge of PHP or Ajax, but you must
    know the basics of HTML and CSS. As I say in the introduction, "You."
    don't need to be an expert, but do not have a curious mind.
    It teaches the basics of web site design, or he's trying to list
    each unique feature in Dreamweaver CS3. There are many other books
    to fill this gap. However, by working through this book, you will gain a
    in-depth knowledge of the most important features of Dreamweaver.

    > 2. I am interested in buying this book especially to implement cool Ajax/Spry
    > stuff on my e-commerce site. I wonder about PHP, because the content of the book
    > mentions making a PHP site. Now I realize this book isn't on purchases
    > carts, but the Ajax/Spry stuff can be implemented on e-commerce sites, right?

    The book provides detailed coverage of the features of Spry 1.4
    Dreamweaver CS3, which can be applied to any site. With minor
    adjustment, you can also use Spry 1.6. It is important to realize,
    However, the features of Spry/Ajax in Dreamweaver CS3 * cover of no
    asynchronous requests to the server. The ability to communicate
    asynchronously with the server has been added in Spry 1.6. If it has
    the asynchronous server calls and answers you are looking for, your
    programmer will need to dig into the documentation for Spry 1.6 on the
    Adobe Labs site and manually code it.

    The Spry features covered in the book are Spry, Spry UI widgets effects
    (menu accordion, tabbed and folding panels), Spry
    Widgets of validation and Spry XML data sets.

    > I just want to know if I can learn and implement Ajax/Spry apps on my
    > HTML/CSS-based simple pages, on a server that allows PHP scripts on the server side
    > but the pages themselves are not with the .php extension. This book is still going
    > apply?

    Yes. All Spry techniques can be used on any web page. This is not
    you have to be a PHP one.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Urgent help please! AJAX does not have the BB8900

    Hello world

    in a big trouble... I have developed a very simple web application using Java, Spring, and AJAX. Connection on the success page, a form appears when the user must fill out and save later.

    As a number of selection lists (list drop-down combobox) should be used. Some of them are disabled for the first time, by certain actions (for example a field filler text or by selecting another list), the lists must be activated and filled using AJAX to a servlet.

    This works with PC, iPhone, with HTC (IE, Firefox, Opera...). But in BB9000 emulator and a device BB8900 I faced with the following problems (although I have activated JavaScript):

    (1) text fields are enabled to disabled correctly, but drop-down lists are not disabled.

    (2) AJAX does not, for example, select a city leads AJAX to the streets of this city.

    (3) DOM does not work... for example a button, no news... elements are added to a table in the form.

    Please help since my deadline is coming and I'm short on time!

    Kind regards

    Hello

    Strangely, I could make it work 'more or less' in the Simulator and the BB 8900 device. Worked on the version used:

    strlist.options[strlist.options.length] = new Option("Text 1", "Value 1");
    

    ??? I had to disable the javascript first, clear the cache, close the browser, reopen, enable javascript, and re-run the web application. Since there is no Javascript errors when you fill out the lists, DOM works very well.

    I couldn't make the dropdowns 'disabled', however, the list object is set to true 'deactivated' property until the debugger showed? Somehow, I can live with that for a while :-)

    Thank you all for...

  • Integration of JSON and CF

    Hi ~

    I am very new to JSON and AJAX. I use a jQuery plugin to display a form via AJAX/JSON to a .cfm page and I try to send a response that can be used by jQuery.

    It's my little bit of jQuery:

    $.ajax({
                                        url: $(this).attr('action'),
                                        data: $(this).serialize(),
                                        type: $(this).attr('method'),
                                        dataType: 'json',
                                        success: function(data, status) {
                                            var content = data.message;
                                            this.set('content.text',content);
                                        },
                 
                                        // Disable/Enable input elements
                                        beforeSend: function() { inputs.attr('disabled', 'disabled'); },
                                        complete: function() { inputs.removeAttr('disabled'); inputs[0].focus(); }
                                    });
    

    I see that the request is going through successfully in Firebug (200 OK), but I have no idea how to manipulate the data on my page of CF and then flip it over and use it in the code above. I know that I can access JSON data like this:

    <cfset requestBody = toString(getHttpRequestData().content) />
    

    But after that, I'm totally lost! Is it still possible? Please let me know, thanks.

    Finally understood this! The prefix option has been disabled on our server, but it is good to know about it. At the end of the day, this seems to go back to what I need to:

    
        returnMessage = serializeJSON(local.message);
        writeOutput(returnMessage);
    
    

    Then, in the AJAX function I just this:

    success: function(data, status) {
         var content = data;
         api.set('content.text', content);
    },
    error: function(data, status) {
         var content = data;
         api.set('content.text', content);
    }
    

    And my updates of content!

  • COCOMO developer Limitation

    I was just wondering, how many client can connect to cocomo and bandwidth limitation?


    Thank you


    teddysetiawan

    Hello

    For the public beta, using an account has the following quotas:

    * 25 concurrent users
    * 15 000 minutes user accumulated per month
    * 250 000 messages posted per month
    * 3 GB of bandwidth (in + out) by month

    Thank you
    Hironmay Basu

  • The hide/show button with the AJAX selection list

    I have the button named "QUERY" and AJAX list selection page #2 'ID'. When my selection list value is 100, I would like to display the button, otherwise hide the button. I checked the session values are defined correctly for the selection list when I change the value, but the following code in one of the messages in the forum does not work. is it different for elements of AJAX?

    Added the following code to select the list - onchange = "disble_enable_button (); »

    function disble_enable_button() {}
    If x$ ('P2_ID') .value = '100'
    x True $('P2_QUERY') = true;
    for other x $('P2_QUERY') true = false;
    }

    Hello

    function disble_enable_button() {
    if ($v('P2_ID') == '100')
    $x_Show('P2_QUERY');
    else $x_Hide('P2_QUERY');
    }
    

    Mike

  • In the Console of the Cocomo Dev authentication failure

    I have two Adobe ID - one I've had for years and one that I created just to test Cocomo - and I'm unable to connect via the Dev Console with or any of these accounts. I always get the message "Authentication failure" when I try to log in.

    I tried to use the meeting URL and the URL of the account (they seem to be different - the URL I enter in fact the meeting is different from the URL that appears as the "account URL" in the management page on http://cocomo.acrobat.com) but I still get the same error.

    Customer card:

    OS: Windows XP SP2
    AIR version: 1.5
    Flash Player: 10
    COCOMO SDK: SDK 0.9 Beta
    Proxy type: NTLM (this has caused problems in the past with Adobe products, but applications seem to be coming out correctly in this case).

    Any ideas what might be going on or how I can get a more detailed description of the error (I can't find the logs of error anywhere)?

    Thank you
    John.

    I finally found what it was!

    I thought that he could have the password, so I created another account using the "new Dev? The Sign up button! "with a simple password (letters and numbers only - no! @# $%^&*() characters).

    There are obvisouly something to do when the AIR app sends the password to the remote server (URL encoding maybe?).

    mpbikc - try to change your password or create a new account with a simple password and see if it works for you.

  • General questions Cocomo

    I go to the SDK and docs of Cocomo and have a few questions:
    1. There is the possibility to create rooms, can be any user did this or only specific ones - his looks in the documents creating rooms is left to individuals with rights of 'owner '?
    2. is there something that maintains an up-to-date list of the rooms and who is in them?
    3. can we put a limit on the number of people can be in a room so no more can join?
    4. can we all user join a piece of their choice or a person with permissions using the 'UserManager' a place themselves in the room?

    The reason why I ask this question is that I consider a game where multiplayer:
    1. users log into the game and are dumped into a "lobby".
    2. users can see the list of other players, but also a list of rooms - which is actually a list of available games.
    3. each game room is limited to 10 people so that when a room has ten people person else cannot enter.
    4. anyone can create a room (aka: a game) and up to ten people can join this room, the creator of the room (or game) may start people of the room if they choose to.
    -It would be the general idea but I dug enough yet to understand if all this is possible with Cocomo. Quick pointers would be useful.

    Thank you

    Chad

    Hi Chad,

    1. well, Yes, only account owners are able to create rooms. This includes your server, which can call the HTTP APIs to spawn rooms.
    2. There are APIs to get all the rooms on the service (I'll let Raff speak more for this). That said, it is likely that your server should be followed what she aroused and that he has sent to these rooms.
    3 see my answer above - when your server serves as a SWF file, it can use the FlashVars or other means to say that SWF which to connect to the room. If your server is followed which parts he built and that it has routed where, you can build this feature.
    ((4-depends - "hit" is a mechanism that forces someone to allow users in, but I especially would manage it by the darkness, by using the methods described in 2) and 3) above.

    For the workflow that you describe, I think you could use a separate room (or rooms) as lobbies. From there on, every customer in your hall would ask your server the list of rooms (who still have the ability to more people). If they wanted to create a new, they ask your server to do and send a message to everyone in the Hall to re - search all of the rooms. To join a room, they would need to ask your server the URL of the room, they chose and connect. Your server should keep track of who has applied to join, and potentially, if made more than 10 users, take this room list rooms "active."

    For the workflow ' creator can start people ", what you are looking for is the ability to make the person who has requested a new room to bring the 'owner' of this room. To do this, you will need to use external authentication. See "Deploying applications" section in the guide to the developer for further details.

    In short, it sounds possible to me.
    Thank you
    Nigel

  • When released cocomo.

    Currently, it is beta version and non-commercial.
    A chronology of liberation? in the month or a year?

    Hello

    We know that people are interested in a period of time and understanding of our pricing model. But, as you probably know, Adobe, as a company policy, does not, publicly release dates, calendar, etc.

    The team continues to work hard on Cocomo and pushing forward towards the commercial version. We know the details are missing, but hope to engage the community soon helping us to validate and refine our business model.

    Kind regards
    Fang

  • How to see the chart with labview WebService

    Hi all

    I am looking in the labview 8.6 web services option. I've seen some simple examples that can be found here on the website of the NC. But these examples generally deal with static data. As in the example of the sum, you enter your parameters in the URL, and the result is displayed in your web browser.

    What I want to do now is display a chart in my web browser that show a mobile signal. But I'm having a hard time the realization of this. How to make this work? Do I need AJAX, Measurement studio? or is it sufficient to use the labview web service.

    Best regards.

    ynse,

    You are right that web services do not require runtime must be installed on the client. Unlike the remote panels that make the VI on the client, web services nothing do with the client at all. Simply, the web service is running on the server and returns data to the client. The customer can return the data, but he wishes.

    Your question about studio of measure and AJAX is really asking questions on the client end. You can certainly use the AJAX controls that are updated with the data they acquire a web service from LV. A graph, however, is extremely difficult because javascript has not yet drawing capabilities.

    Web graphics I've seen do one of the following:

    -'Draw' the points on graph using HTML elements with javascript. It of complicated, would be difficult to get working on all browsers and would have problems of severe performance with large data sets.

    -The web service returns an image of a graph that refreshes the client. It takes more bandwidth than necessary, and the server must be able to take a snapshot of the graph. (LV real-time cannot use this approach.)

    -The graph is rendered using a plugin for the browser. There are many technologies that can be used to do this: Java, Flash, Silverlight, etc. The example you mentioned used flex from Adobe which is a valid approach that you should not be quick to dismiss.

    Measurement Studio is not my area of expertise, and I don't know what it can provide for the creation of a graph. What it provides probably made use of one of the above methods.

    Nathan

Maybe you are looking for

  • NB300 - error creating recovery USB stick

    Hello I just bought a NB300 and have now tried twice to make the Recovery Media Creator with a 8 GB USB and it totally destroyed two sticks of memory new! I followed the instructions, it gets to the bit on formatting the memory stick then comes up wi

  • Issue of ThinkPad tablet 2 Factory Reset reinstall Windows

    Please help me. I have problems to reinstalling windows on my thinkpad Tablet 2. I have a long enough thread explaining my problem here, http://forum.tabletpcreview.com/lenovo-ibm/62633-thinkpad-tablet-2-factory-reset-reinstall-windows.h... if someon

  • Possible to use labview with daq system not of NOR?

    Hello I have a daq system and the software from another company that NEITHER. But I want some changes in the software. If the opportunity was to make a new program with Labview. Is it possible to use the old system of data acquisition? Is this compat

  • Dual display for Pavilion Elite HPE - 580 t with NVIDIA GeForce GT 420

    recently bought Pavilion 580t for my wife. Updated to NVIDIA GeForce GT 420 map graphics. But there are currently not able to determine if it supports dual display. When you check the Nvidia site, he says that all the stuff here. But this has only a

  • How to recover my stolen surface

    My windows surface has been stolen. I have the serial number and the package if you need. How ever my aunt bought the surface in the United Kingdom and it shipped to the Philippines. Now, my position is where the surface has been stolen. I hope that