connecting flex with php (wamp)

I'm trying to connect to flex to a php (wamp server) application... BT I m unable to do

my application works very well... bt wen I click on the "submit" button it shows... data transfer frm localhost n is nothing happens... database is updated to nt...
Flex code

<? XML version = "1.0" encoding = "utf-8"? >
" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"creationComplete =" send_data () "> "
< mx:Script >
<! [CDATA]
import mx.controls.DataGrid

private function send_data (): void {}
userRequest.send ();
}
[]] >
< / mx:Script >

< mx:Label = "79" x = "89" text = "username" / >
< mx:Label = "79" x = "128" text = "rolnumber" / >
< mx:TextInput id = "nm" x = "153" y = "87" / >
< mx:TextInput = "153" x = "126" id = "roll" / >
< mx:Button = "127" x = "191" label = "submit" id = "sub" click = "send_data ()" / >


" < mx:HTTPService id ="userRequest' url = ' http://localhost/connect.php "useProxy ="false"method ="POST"> "

< mx:request xmlns = "" >
< user name > {nm.text} < / name > < rollnumber > {roll.text} < / rollnumber >
< / mx:request >
< / mx:HTTPService >


< / mx:Application >

php code

<? PHP
mysql_connect ("localhost", "root", "") or die ("cannot connect");
@mysql_select_db ("std_db") or die ("cannot select database");

$q = "INSERT INTO 'std_db'."student"("name","roll") VALUES (' $_POST [nm]", $_POST [roll]) ";"
If (mysql_query ($q))
echo 'sucessfully inserted ";
on the other
echo' error occurred ';
If ($Row = mysql_fetch_array ($result))
//{
echo $row [']

? >

//

php code

<>
mysql_connect ("localhost", "root", "") or die ("cannot connect");
@mysql_select_db ("std_db") or die ("cannot select database");

$q = "INSERT INTO 'std_db'."student"("name","roll") VALUES (' $_POST [nm]", $_POST [roll]) ";"
If (mysql_query ($q))
echo 'sucessfully inserted ";
on the other
echo' error occurred ';
If ($Row = mysql_fetch_array ($result))
//{
echo $row [']

?>

//

your query looks a little off, instead of

mysql_connect ("localhost", "root", "") or die ("cannot connect");
@mysql_select_db ("std_db") or die ("cannot select database");

$q = "INSERT INTO 'std_db'."student"("name","roll") VALUES (' $_POST [nm]", $_POST [roll]) ";"

Try

    mysql_connect("localhost", "root", "") or die("cannot connect");
    mysql_select_db("std_db") or die("cannot select database");

    $name = mysql_real_escape_string($_POST["username"]);
    $roll =    mysql_real_escape_string($_POST["rollnumber"]);

    $q = "INSERT INTO student (name , roll) VALUES ('$name', '$roll')";

Tags: Flex

Similar Questions

  • Flex with php

    Hello

    I want to insert a record in my database but ICAN t. I am new to Flex, and there is my code:

    <? XML version = "1.0"? >

    < mx:Application ' xmlns:mx = ' http://www.Adobe.com/2006/MXML "xmlns =" " * "layout =" " absolute "creationComplete ="userRequest.send ()" >

    < mx:HTTPService id=" userRequest " url=" http://localhost/Flex/Insere.php "useProxy =" " fake "method =" " POST " >

    < mx:request xmlns = "" " >

    < username > {username.text} < / name > < emailaddress > {emailaddress.text} < / emailaddress >

    < / mx:request >

    < / mx:HTTPService >

    < mx:Form x=" 22 " y=" 10 "width = » 493 " >

    < mx:HBox >

    < mx:Label " text = ' Username " />

    < mx:TextInput id=" username " />

    < / mx:HBox >

    < mx:HBox >

    < mx:Label " text = ' Email address " />

    < mx:TextInput id=" EmailAddress " />

    < / mx:HBox >

    < mx:Button " label = ' BOLAS "click ="userRequest.send ()" />

    < / mx:Form >

    < / mx:Application >

    I think the problem is that insere.php is not called.

    Any help, please?

    Heres the flex work:

    
    
    
         
             
         
    
        
            
                {usernameStr}
                {emailStr}
            
        
    
        
            
                
                    
                
            
                
                
            
            
        
    
        
            
                
                
                
            
        
    
    
    

    Configure a datagrid control, so you can see the add users button that you press

    Try this PHP, swap "xxx" for your usename and "xxxx" your database password database:

    ";
    
       while ($User = mysql_fetch_object($Result))
       {
              $Return .= "".$User->userid."".$User->username."".$User->emailaddress."";
       }
       $Return .= "";
       mysql_free_result($Result);
       print ($Return)
    ?>
    

    your daa

  • Connection with Flex and PHP

    Hello

    I write a login page that will serve as the front end of our main Flex application and hope someone can fill in the blanks here...

    The Flex login page composed of password entry fields, username and a "submit" button. When a user enters their credentials and hit sumbit, HTTPService will send the login information of the user to the PHP script. This script will handle authentication on the MySQL database. If verified, two random questions created by the user will be included in the resulting XML object. These two security issues will be displayed in the login page.

    I have already implemented these logics, but I was wondering...

    1. Assuming that HTTPS / SSL will be implemented in the production, is this OK/safe to include security responses in XML and let the Flex to validate the responses of the user?
    2. After successful validation, how to redirect to the homepage?
    3. I understand the idea of ID of session and token cookies, but what I have to implement this?
    4. How to sign out?

    Thank you very much in advance for your time and the suggestion.

    I currently have three projects on the go, so I can't really spend a lot of time on it. He ca

    n be a bit of a minefield for certain circumstances, but this link should be a good start

    http://corlan.org/2008/07/22/Flex-Air-PHP-and-user-authentication/

    Personally, I would probably support using the notion of token stick at its connection to the flex application and whenever the data request system is passed a token (baton), the token of the wand is also past and demand verified as a user that is logged by the PHP backend.

    Naturally, it all depends on how secure your application must be to decide exactly what appropriate measures. The data passed between client and server and back can be intercepted if a secure protocol is not used.

    Paul

  • Connection problem with the database, the closure of Flex Builder

    Hello

    I developed a web page that connects to a database, reads data and it shows on the screen. I use HTTPService to connect to a php server that supports MySQL data. Everything is OK when I run the Flex Builder web page, but when I run the page doing double click on the file released .html the connection fails and the program generates this error:

    [RPC Fault faultString = "" error #2028: file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf SWF file with Local file system cannot access Internet URL http://localhost/Test2/Test2.php. "faultCode ="InvokeFailed"faultDetail ="null""]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal: call ()
    at mx.rpc.http.mxml::HTTPService/ http://www.adobe.com/2006/flex/mx/internal: call ()
    at mx.rpc.http::HTTPService/send()
    at mx.rpc.http.mxml::HTTPService/send()
    in FrontEnd / submitLabelsQuery)
    in FrontEnd / updateLabels)
    in FrontEnd / ___FrontEnd_SetEventHandler5_handler)

    Does anyone know how can I use the web page without using Flex Builder?

    More information:

    I use Flex Builder 3 to the development of the web page and WampServer 2.0 for the connection with the database.

    Thank you

    Onditz

    Hi Onditz,

    Previously, I also faced the same problem when working with Php as the Backend, the problem is that Flex does not call your PHP page

    It is the way I solved it to export your Flex Project at Flex Release Build.

    Right click on the export of project---> Flex project---> Release Build---> copy all the files on your server where all of your PHP files are and then call the application from the browser

    http://localhost/test2/sample.html. »

  • Failed to connect to a PHP file

    I get an error when downloading a site Web of MUSE to my hosting provider. When I publish the Web site, and error appears when FTP is finished and he said: 'failed to connect in the PHP file. Impossible to check if the webserver supports PHP required by forms of the Muse.

    This who should I tell the hosting provider to resolve this error?

    Thank you

    Jim

    Assuming that there no error or warning earlier in the download process, you should check with your hosting provider that PHP is installed and activate your account.

    As part of the download process Muse downloads a small test using FTP .php file, then load it down with HTTP to confirm the file was available and ran PHP code. This criterion is apparently a failure on your hosting.

  • Invalid accept header with PHP SDK 5.1 against 1.5.1 vCloud Director

    In PHP 5.1 SDK samples do not work against 1.5.1 vCloud Director?  Any code that I am trying to write with PHP 5.1 SDK really will work against my vCD 1.5.1?  Or it will fail as the samples?  Is there something I can do for samples and all this work?

    My question seems very similar to http://communities.vmware.com/message/2142668#2142668.  I've had some success with the SDK 1.5 samples against my 1.5.1 vCloud Director.  But when I've upgraded to the PHP 5.1 SDK, all I could get was "invalid accepts header" messages, like this:

    PHP Fatal error: Eception exception 'VMware_VCloud_SDK_Exception' with the message "POST ". https://vCloud.mydomain.edu/API/login failed, return code: 400, error: <? xml version = "1.0" encoding = "UTF-8"? >

    " < error xmlns =" http://www.VMware.com/vCloud/v1.5 "stackTrace =" com.vmware.vcloud.api.rest.handlers.exceptions.BadRequestRestApiException: invalid application accepts the header

    at com.vmware.vcloud.api.rest.common.handlers.ErrorHandler.getBadRequestApiException(ErrorHandler.java:71)

    at com.vmware.vcloud.api.rest.common.handlers.ErrorHandler.errorBadRequest(ErrorHandler.java:44)

    at sun.reflect.GeneratedMethodAccessor11639.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)

    at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:133)

    to org.ap in /home/bob/lib/vcloudPHP-5.1.0/library/VMware/VCloud/ServiceAbstract.php on line 178

    After changing VCLOUD_API_VERSION in library/VMware/VCloud/Constants.php of 5.1 to 1.5, I get this:

    PHP Fatal error: Eception exception 'VMware_VCloud_SDK_Exception' with the message "POST ". https://vCloud.mydomain.edu/API/login failed, return code: 401 error,:, request data:
    ' in /home/bob/lib/vcloudPHP-5.1.0/library/VMware/VCloud/ServiceAbstract.php:178
    Stack trace:
    #0 home/bob/lib/vcloudPHP-5.1.0/library/VMware/VCloud/Service.php(114): VMware_VCloud_SDK_Service_Abstract-> message ('https://vcloud...) "(, 200) "
    #1 home/bob/lib/vcloudPHP-5.1.0/samples/login.php(78): VMware_VCloud_SDK_Service-> login ('vcloud.mydomain...', Array, Array)
    #2 {hand}
    lifting in /home/bob/lib/vcloudPHP-5.1.0/library/VMware/VCloud/ServiceAbstract.php on line 178

    A standard API call seems to work:

    curl - test id = true u scripty@system h ' Accept: application / * + xml; " version 1.5 =" https://vCloud.mydomain.edu/API/sessions

    Enter password for the user "scripty@system": Home


    HTTP/1.1 200 OK

    Date: Wednesday, November 28, 2012 17:43:56 GMT

    x vcloud-authorization: rxpTQIswdd15HNz + hZku6BCutGljF5VLUrt0M8x + IGI =

    Set-Cookie: vcloud-token = rxpTQIswdd15HNz + hZku6BCutGljF5VLUrt0M8x IGI plus; Guarantee; Path = /.

    Content-Type: application/vnd.vmware.vcloud.session+xml;version=1.5

    Date: Wednesday, November 28, 2012 17:43:56 GMT

    Content-Length: 1009


    <? XML version = "1.0" encoding = "UTF-8"? >

    " < session xmlns =" http://www.VMware.com/vCloud/v1.5 "user = org"scripty' = 'System' type="application/vnd.vmware.vcloud.session+xml' href =" https://vCloud.mydomain.edu/API/session/ "" xmlns: xsi = " http://www.w3.org/2001/XMLSchema-instance " xsi: schemaLocation = " http://www.VMware.com/vCloud/v1.5 http://vcloud.the.usg.edu/api/v1.5/schema/master.xsd" > "" "

    "" < link rel = "low" type="application/vnd.vmware.vcloud.orgList+xml" href = " https://vCloud.mydomain.edu/API/org/ "/>

    "" < link rel = "low" type="application/vnd.vmware.admin.vcloud+xml" href = " https://vCloud.mydomain.edu/API/Admin/ "/>

    "" < link rel = "low" type="application/vnd.vmware.admin.vmwExtension+xml" href = " https://vCloud.mydomain.edu/API/admin/extension "/>

    "" < link rel = "low" type="application/vnd.vmware.vcloud.query.queryList+xml" href = " https://vCloud.mydomain.edu/API/query "/>

    "" < link rel = "entityResolver" type="application/vnd.vmware.vcloud.entity+xml" href = " https://vCloud.mydomain.edu/API/entity/ "/>

    < / session >

    Version switching in gross 1.5 to 5.1 API call causes the accept header message invalid, which is not surprising, now that I became familiar with the format and the requirement to accept header.
    For example, can code samples from the SDK 5.1 actually work against 1.5.1 API?
    Thank you!!!

    Hello

    PHP Fatal error: Eception exception 'VMware_VCloud_SDK_Exception' with message "POST https://vcloud.mydomain.edu/api/login failed, return code: 401 error,:, request data:"

    [Rajesh] Seems to me like a problem of password username. As it clearly says 401.

    After changing VCLOUD_API_VERSION in library/VMware/VCloud/Constants.php of 5.1 to 1.5, I get this:

    [Rajesh] SDK users should not change the code in the library. This is a bug with the SDK for not allowing users to change the version of API through the library (connection method accepts the version as well) rather than change in the library.
    Kind regards
    Rajesh Kamal.
  • Server error: Configure 9i with php

    Respected
    I want to configure oracle 9i 9.2.0.1.0 with php on windows xp version. First I tried with apache 2, but it has been clashing with oracle apache so I installed appserv 2.6.0 and given port 81 for the 'localhost:81 '. In this way, I managed to run the simple program php ' hello world ' using 'localhost:81/test/hello.php', but when I run the connected program (check below) it gives * "Web site has encountered an error when retrieving the http://localhost:81/test/test1.php. It is perhaps out of service for maintenance or configured incorrectly. * error HTTP 500 (Internal Server Error): an unexpected condition has occurred while the server attempted to respond to the request.
    I did it due to changes in php.ini and http.conf
    1 kept php.ini in c:\windows
    2. set the doc_root
    3 - extension_dir
    4 - session.save_path = "c:\temp"
    5 uncomment the line extension = php_oci8.dll
    http.conf
    1 - Allowoverride None for all
    2 - Element DirectoryIndex is set with index.php
    3 AddType command for php "AddType application/x-http - php.php ' value
    4 - LoadModule php6_module has been defined with 'LoadModule php6_module C:/AppServ\php\php6apache2_2.dll' Remeber appserv uses php 6 and I couldn't find "php_oracle.dll" in the post of php6

    Program online
    <? PHP
    $conn = oci_connect('scott@orcl','tiger','//localhost:81/orcl');
    {if(!$conn)}
    $m = oci_error ();
    echo $m ['message'], "\n";
    "exit";
    }
    on the other
    {
    print 'connected to oracle. "
    }
    oci_close ($conn);
    ? >

    * 2nd program *.
    <? PHP
    <?
    If ($conn = Ora_Logon ("scott@orcl","tiger")) {}
    echo "< B > SUCCESS! Connected to the database < B > \n";
    }
    on the other
    {
    echo "< B > Failed < B > \n";
    }
    Ora_Logoff ($conn);
    phpinfo();
    ? >
    Please help me where I'm wrong, I want to run php on the same computer where the database resides.

    Published by: 885098 November 2, 2011 12:03

    1. I haven't looked AppsServ. If it is the same that I Googled, then it looks like an older version of PHP.
    You might consider looking at Zend Server instead.

    2. Yes you need not software customer Oracle if PHP & Oracle DB are on the same machine. But if
    your PHP OCI8 dll built to require a minimum version of Oracle and your DB libraries
    is not equal to or greater than this version, then you will need to (a) get the minimum version of the Oracle
    libraries or (b) recompile PHP yourself.

  • Call to undefined function getsqlvaluestring() with PHP mysql Dreamweaver

    Hey guys, I'm new to the forum and it seems very useful. I think I have a unique problem well.

    Although this script worked for a year or two, all of a sudden, during the holidays, he went to hay

    Front end is always get all the information, it must be the Database.But when I try to connect through the side admin I created with php and database of dreamweaver extensions normal I get this error.

    I do not know many php - then I'll hide the chain at the moment - if I need to paste the code that I'll - thank you in advance


    Fatal error
    : Call to undefined function getsqlvaluestring() in /xxxxx/xxxx/xxxxxxx/xxxxxxx/newsletters/xxxxxxx/xxxxxxx/admin/login.php on line 22

    Vicinity of line 22 looks like this

    @mysql_select_db ($database_promocenter, $promocenter);

    $LoginRS__query = sprintf ("SELECT username, password, destination_page FROM users WHERE username = %s AND password is %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "int"));

    $LoginRS = mysql_query ($LoginRS__query, $promocenter) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    First part looks like this

    < form id = "form1" name = "form1" method = "POST" action = "<?" PHP echo $loginFormAction;? > ">"
    < b >
    < td bgcolor = "#dedede" >
    < table width = "400" border = "0" align = "center" cellpadding = '3' cellspacing = "0" bgcolor = "#ffffff" >
    < b >
    < td height = "35" align = "right" valign = "middle" id = "description" > user name: < table >
    < height td = "35" > < label >
    < input style = "height: 20px;" border: 1px solid #999999 "name ="username"type ="text"id ="username"size ="35"/ >"
    < / label > < table >
    < /tr >
    < b >
    < td height = "35" align = "right" valign = "middle" id = "description" > password: < table >
    < height td = "35" > < label >
    < input style = "height: 20px;" border: 1px solid #999999 "name ="password"type ="password"id ="password"size ="35"/ >"
    < / label > < table >
    < /tr >

    Anton

    Could also show you it could never work.  Why?  Because the call to the function is made before the function is defined.  He would always stop execution with an undefined function error.

    Now - it seems that you have added the users authentication that was placed before the code block in which the function is defined.  So I would say that you move it-

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION< 6)="" {="" 6)="">

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    from its current location to a new block just under the connection with the directive, i.e.,.

    MOVE HERE ? >

    <>

    Validate request to connect to this site.

    so that the final code looks like this-

    <>

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION< 6)="">

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    ?>

    <>

    Validate request to connect to this site.

  • Insert a special character such as apostrophes with PHP/Mysql

    Hi friends,

    I have a problem with php/mysql. I created a form vach'inton a page php with dreamweaver and when I try to fill in the form with a string that contains an apostrophe ('), I got an error. It seems that integration is not possible. Would you have any idea for that. I give you the code of dreamweaver php and thank you for your help.

    <? php require_once('Connections/Mainconnect.php');? >

    <? php require_once('Zend/Date.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    If ($theValue =="")

    {

    $theValue = "NULL";

    }

    on the other

    {

    $zendDate = new Zend_Date($theValue,"dd/MM/yyyy");

    $theValue = "" "." $zendDate-> toString("yyyy-MM-dd"). »" « ;"

    }

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_update"])) & & ($_POST ["MM_update"] == "form1")) {}

    $updateSQL = sprintf ("UPDATE pers_soc_reg SET Field1 = %s, Field2 = %s,

    GetSQLValueString ($_POST ["field1"], "text").

    GetSQLValueString ($_POST ["Field2"], "double"));

    Hello friends,

    I solved the problem.

    The problem is a free extension for dreamweaver called 'check new items' of Felixone. After his retirement, all forms of work without problem.

    Thanks to you all.

  • Adobe Flex with Web performance

    Flex dear Experts.

    Hello! How are you? I am SAP consultant, I'm preety big application (not on the SAP platform but with PHP ZEND platform) to develop with table UI, Google Maps and other powerful visualization interfaces. I like Flex to work with. My work most of the side SAP so do not know the problems of possible performance with PHP and Zend.  My friends say don't turn out to be used Flex since it creates performance issues in the Web page.  I don't want to go with any other technology like JQuery or something. Is - what really this famous performance problem can anyone? If someone help me to understand how to improve the performance of FLEX RIA, it will be very useful to the mine. I'd appreciate any response.

    Thanking you

    Concerning

    Naeem

    How also known as Morgan Stanley matrix Flex applications could be built if Flex was such a klutz?

    http://www.morganstanley.com/matrixinfo/

    The answer is that a lot about people is due to ignorance:

    -In order to create a Flex application that works well, know both the bowels of the Flex framework and do not act against the underlying Flash Player. Many people try and rewrite things that exist in the Flex framework or upset the Flash Player.

    -A large number of people will talk about Silverlight/.NET because there multithreading and Flex does not work. But used multithreading unwisely can lead to performance problems. Many operations in Flex are asynchronous and use a callback mechanism.

    -You can use the time cutting heavy data processing, but it is recommended to reduce the amount of data loaded and processed at some point (for example using paging): http://cookbooks.adobe.com/post_Time_slicing-18691.html

    -Flash Player 11 will bring the GPU acceleration and 3D scene possibly multithreading

  • How to use the funds application Flex with java

    Hello

    I've seen a lot of tutorials on using web application with java flex but you will not see even a tutorial for the application Office Flex with java. If anyone have pls send the link.

    is it possible to create java application and desktop application without using application server?

    Thank you.

    Hello

    Please see the link below.

    http://forums.Adobe.com/thread/601342?decorator=print&displayFullThread=true

    It could anser your query.

    Anser another is "Merapi project" - This allows you to connect to the local application of Java of the AIR application.

  • FLEX 3 PHP TCPDF QUESTION

    If I make a Datagrid with PHP, I have this code:

    submitted forms < h2 > < / h2 >
    < table >
    < b >
    Date < /th > < th >
    < /Th > < th > order ID
    The < /th > < th > base ID
    < /Th > < th > range ID
    Tech ID < /th > < th >
    < th > < /th > PDF download
    < /tr >
    <? PHP
    Meter starting line
    $iRow = 0;

    To loop through all the rows in the database
    While ($orders = {mysql_fetch_array ($result))}
    $iRow ++; Increase the counter
    $rowColor = ($iRow % 2)? ' ': ' class =-"even\" "; If the line is the same, put a CSS class on it
    ? >
    < tr <? PHP echo $rowColor; actually put the rowColor class name? > >
    < td > <? PHP echo $orders ['date'];? > < table >
    < td > <? PHP echo $orders ['id'];? > < table >
    < td > <? PHP echo $orders ["value"];? > < table >
    < td > <? PHP echo $orders ["route_id'];? > < table >
    < td > <? PHP echo $orders ["tech_id"];? > < table >
    < td > < a href = "getorder.php? id = <?" PHP echo $orders ['id']; Download page for if it uses the primary key of the row to select the data to create the pdf file. ? > "> Download < /a > < table >"
    < /tr >
    <? PHP
    Closed loop
    }
    ? >

    I have a column named downloading that has a link that executes a php that produces a PDF file and it gives the user. It works very much like above, but I'd like to use flex to build an app for that.

    Problem is that I do not understand where I need to add this code in FLEX3. I just did a project where I bult a datagrid that pulls from the MYSQL database. I am able to add a column with the header DOWNLOAD and I see the place where it generates a table, I guess that I don't know the syntax to add the link to the table.

    I can add more script if necessary and strongly apprecite to help

    I have here a simple application that reads information from a database and puts it in a datagrid flex, source code included

    http://www.mattlefevre.com/viewExample.php?tut=flexPHP&proj=simple%20Login%20Application

  • Flex and php?

    I tried to put a contact form, a Messenger on my website contact page, so now you use php as a background that transfer of email and logic while flex made use of rich user interface,

    on the server where should I put the php file? the server must be supoprting right php scripts? even if the server, mine zymichost supports php, my form of contact e-mail system does not work?

    is there a difference with php on the server files? because my application converts the format swf, exactly how it works with php? Help, please...

    You can do with php.

    POST, fake useproxy method

    but AMFPHP is a better client server communication protocol available for developers of Flash Player.

    For more details www.amfphp.org here you can find examples, as well as the configuration.

    hope this post helps u.

  • How to use Flex with EJB3?

    Anyone know how to integrate Flex with Java?

    I have a project EJB3 with JPA etc...

    Must use Eclipse with the Flex plugin or can I only use Flex Builder and Eclipse for java classes? (preferring the second option)

    I'm going crazy, this need for my college work, as quickly as possible.

    Please an explanation or a sample.

    Thank you all.

    1. I need to write any Servlet to use the HTTP protocol to connect with Flex, then create the wsdl for my EJB3.

    There are many free tools that helps you to convert a Java application to webservice.  Other tools

    2 - this wsdl will create client side of my application, so I create my Flex normally using Blaze DS HTTP interface?

    I never used to Blaze DS, but it is based on Java.

  • can I pay my monthly net flex with gift cards

    can I pay my monthly net flex with iTunes gift cards

    Yes, just make sure they keep your credit account, all payments will be taken from your credit before your card balance.

Maybe you are looking for

  • Product key is not readable

    Helloby looking at the label of the product key on my laptop it is not more readable as quite a long time since the device in use and it is carried away. Somehow, it happened that a virus took place and I luckily able to use HARD drive pre-installed

  • Satellite L300 - does not successfully start Vista

    I have a Toshiba Satellite L300 when I boot it it goes directly to the Boot Manager screen where I have to start it manually. Once it starts it does not work correctly until I click on the Quick Launch button to stop scrolling up and down line. I hav

  • How can I programmatically set the delay of a feedback node?

    I'm generating a sine wave using the vi simulate Signal Express. I then use a feedback node to delay the signal of a specific amount. The front displays 2 charts: one of the original signal and another of the delayed signal. The problem is that I wil

  • Windows Update has failed. Don't want to not brick it. Need help

    I just received my Revo RL80-UR23.  WIN8 booted up fine.  Went to get the usual windows updates.  All 102 of them (~ 1 GB).  Clicked on install.  During the installation of 99%, he failed and spent several hours back to before the updates.   For a wh

  • Windows 8 Pavilion g6 - I can't move the mouse when you press a letter key?

    Ello, uh... I don't know if it's built into the system or if its just me being completely stupid, but... How, if there is an option in the system, disable the fact that whenever I have pressed a button and try to move my mouse it crashes? its done th