Tutorial: The Players demo – Flex, PostgreSQL, PHP/AMF working together

Digital Showcase LLC has developed this Tutorial and Demo on database entry and update taking advantage of the extended graphics that Flex/Flash  offers, to produce a rich, compelling user interface for presenting Database usage, leveraging PHP and AMF via the Zend Framework.
Click Here to try the live Demo.
The 11 page Tutorial along with all the code to do this is available HERE.
- Alan Gruskoff

so... while no one find the probleme or even give me an answer to it, i search another solution that correspond to my knowledge and i found : As-SQL it's easy to use and while u don't need to manage a lot of data this solution will be helpfull.
any way, even if i found another solution i still want to know the problem.

Similar Messages

  • Can the e-mu proteus x and 1212m work together?

    Hi
    I'm after the Proteus X sound module as well as the 1212M audio card because of the Mastering Grade audio converters.
    Will both of thoses cards work together?
    Is there a upgrade package to get the Proteus X sounds on the 1212M sound card?
    any other ideas or suggestions would be great
    Chris

    Chriszelno,
    Proteus X will work with any of the Digital Audio Systems, including the 1212M. I don't see a Proteus X/1212M bundle on the EMU webpage, but there are some good prices on Recertified B-Stock 1212M's and Proteus X separately in the Bargins and Specials section.
    You might consider the Emulator X Vintage Composer bundle which includes the 1212M, Emulator X (which has all the functionality of Proteus X plus much more in the way of sample creation), and the Sounds Beat Shop 2. Currently it shows up as being out of stock on the website, but the 1-800 number on the site will get you in contact with someone who would have up to the minute news on what is available.
    Jeremy

  • Apache and PHP not working together

    Hey all,
    Ok, I reinstalled my server yesterday and followed the LAMP wiki to set up Apache, MySQL, and PHP. Now, I got Apache and MySql working great, but when I go to directory that has a .php file to open, my brower is asking me what application I want to open with the file.
    I have set up this to handle the docuemtns:
    DirectoryIndex index.php index.phtml index.html
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    and still no go.
    Anyone got this to work?
    Thanks!!!
    Joe

    cactus wrote:
    http://bbs.archlinux.org/viewtopic.php?t=15596
    Check and see if what I said in my last post is happening to you as well...
    Yeah, I checked and the path is correct...
    Maybe I should just reinstall it?
    Thanks!!!

  • How to get the set pf-status and call Transaction work together in SA

    hi,
    I am using Set pf-status to display the details screen and the same time using call transaction va03 leave screen 0 to display the corresponing sales order.
    The issue is both of them are not workin together properly.
    it could be helpfull if you give some code which deals the issue in detail...
    can you please give details how to get the previous screen once the new screen is obtained thru set pf-status
    thanks and regards
    Edited by: san dep on Jul 10, 2008 6:25 PM

    Hi,
    Try this code ---
    SET PF-STATUS 'STATUS_NAME' OF PROGRAM 'ZPROGRAM_NAME'.
    Regards
    Pinaki

  • Safari and the latest version of Adobe not always working together. Adobi is crashing?

    I'm forced to resort to Google Chrome because the latest Adobe Flash Plug in crashes when using Safari.  It started as soon as Adobe updated. It happens with Firefox as well but not in Google chrome. I perfer Safari. What can I do?

    Adobe Community: ATTENTION MAC CUSTOMERS - Flash Player 13 "Plugin Failure" Workaround
    seems to have resolved similar problem for many users.

  • Help!How can Flex+PHP+MSSQL(Microsoft) work together?

    I have already learned how to make Flex + PHP + MySQL work together.Simply by Zend AMF.
    But my company wants to use MSSQL(Microsoft) as the database.
    I also use the Zend AMF.
    But it returns the Fatal error: Uncaught exception 'Zend_Amf_Server_Exception' with message 'Handle error: Unable to writeObject output: Can not serialize resource type: mssql result 499' in C:\wamp\www\ZendFramework\library\Zend\Amf\Server.php:631Stack trace:#0 C:\wamp\www\BQSB-debug\gateway.php(69): Zend_Amf_Server->handle()#1 {main} thrown in C:\wamp\www\ZendFramework\library\Zend\Amf\Server.php on line 631
    How can I handle the error?
    Can Flex+PHP+MSSQL(Microsoft) work together by Zend AMF?
    Or there are other ways to make Flex+PHP+MSSQL(Microsoft) work together.
    Please help me, I am waiting online,thx.

    I am currently using Flex 4+Php+Zend with a MSSQL backend.
    I use the microsoft sql php driver to interface from PHP to MSSQL.  http://www.microsoft.com/sqlserver/2005/en/us/php-driver.aspx
    Hope that helps

  • Completely different AMF request packets for same remote service call from Flex to PHP using ZendAMF

    I was trying to debug why one of the remote-services in our Flex application was failing randomly. What I found was interesting. Completely different AMF request packets were sent for same remote service call from Flex to PHP.
    When the service call succeeds the AMF request packet looks like the following:
    POST /video/flex/bin-debug/gateway.php HTTP/1.1
    Host: localhost
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 115
    Cookie: PHPSESSID=j6u30i8uu6c3cvp8f4kipcpf05
    Referer: http://localhost/video/flex/bin-debug/main.swf/[[DYNAMIC]]/5
    Content-type: application/x-amf
    C    ontent-length: 305
    Flex Message (flex.messaging.messages.RemotingMessage)     operation = getMemberFromEvent    clientId = 2F997CD0-7D08-8D09-1A9B-0000422676C8    destination = MembereventService    messageId = B46AB58D-2241-83F0-41E4-9FE745565492    timestamp = 0    timeToLive = 0    body =     [      280    ]    hdr(DSId) = nil
    And when the service fails the AMF request packet looks like this:
    ServiceRequest: getMemberFromEvent; RemoteService; getMemberFromEvent
    (mx.messaging.messages::RemotingMessage)#0
      body = (Array)#1
        [0] 250
      clientId = "1AA4FAAB-AEA5-8109-4B0D-000002B3A9A1"
      destination = "MembereventService"
      headers = (Object)#2
        DSEndpoint = (null)
        DSId = "nil"
      messageId = "2F92E6C0-FE92-A09B-B150-9FE2F28D9738"
      operation = "getMemberFromEvent"
      source = "MembereventService"
      timestamp = 0
      timeToLive = 0
    Also, following is the error message on Flex when the service fails:
    {Fault code=Channel.Call.Failed, Fault string=error, Fault detail=NetConnection.Call.Failed: HTTP: Failed, Destination=MembereventService}
    We are using Swiz as the micro-architecture for Flex development and Zend AMF for remoting between Flex and PHP.
    Any ideas what is wrong here, what is causing Flex to send different request packets for the same service & what I can do to fix it?

    Hi, I know that your post is almost 5 years ago, but have you found the solution to this issue?
    Thanks.

  • Flex and Zend amf deployment resolved with proper solution

    Hi All,
    Although, I personally do not like using Zend for these issues itself. However, I faced this issue first time with flex 4.0 version when everyone used to run into
    channel disconnected error. you can find the link for that post here:
    http://forums.adobe.com/message/3366991.
    Now, with flash builder 4.6, things have changed slightly and so the deployment process. So, here are the right set of steps to be followed :
    1. after developing your flash project, export the release build(I assume if you are a flex user, you should know these steps already)
    2. Now, check your release folder, you must have got some files with amfconfig.ini and gateway.php and just one folder named history.
    3. copy all these files into a new folder say "My Release Build".
    4. Now, step 1 is get Zend framework in place, to achieve that:
    there are different ways. some will say : "make sure zend must already installed on your production server." that is an alternative but most likely,  the easier way to do this is : search your www(root folder on localhost),you will find a folder with name ZendFramework. Copy this folder to "My Release Build"
    5. Now, the services that you have used in your flex project, go to debug folder of your project which should be in your www(root folder on localhost) with name "yourprojectname-debug". copy services folder from this debug folder to "My Release Build"
    6. Now, open your amfconfig.ini from "My Release Build" and edit and make it look like following:
    [zend]
    webroot = http://www.yourwebsite.com
    ;you can edit above webroot to match the root folder of your website or use . to make it point to root.
    zend_path = ./ZendFramework/library
    [zendamf]
    amf.production = true
    amf.directories[]= services
    thats it. your amf config is fine.
    7. edit gateway.php:
    Now, remove everything from gateway.php and copy this as it is there:
    <?php
    ini_set("display_errors", 1);
    $dir = '.';
    $webroot = $_SERVER['DOCUMENT_ROOT'];
    $configfile = "amf_config.ini";
    //default zend install directory
    $zenddir = $webroot. '/ZendFramework/library';
    //Load ini file and locate zend directory
    if(file_exists($configfile)) {
        $arr=parse_ini_file($configfile,true);
        if(isset($arr['zend']['webroot'])){
            $webroot = $arr['zend']['webroot'];
            $zenddir = $webroot. '/ZendFramework/library';
        if(isset($arr['zend']['zend_path'])){
            $zenddir = $arr['zend']['zend_path'];
    // Setup include path
        //add zend directory to include path
    set_include_path(get_include_path().PATH_SEPARATOR.$zenddir);
    // Initialize Zend Framework loader
    require_once 'Zend/Loader/Autoloader.php';
    Zend_Loader_Autoloader::getInstance();
    // Load configuration
    $default_config = new Zend_Config(array("production" => false), true);
    $default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));
    $default_config->setReadOnly();
    $amf = $default_config->amf;
    // Store configuration in the registry
    Zend_Registry::set("amf-config", $amf);
    // Initialize AMF Server
    $server = new Zend_Amf_Server();
    $server->setProduction($amf->production);
    if(isset($amf->directories)) {
        $dirs = $amf->directories->toArray();
        foreach($dirs as $dir) {
            // get the first character of the path.
            // If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
            $length = strlen($dir);
            $firstChar = $dir;
            if($length >= 1)
                $firstChar = $dir[0];
            if($firstChar != "/"){
                // if the directory is ./ path then we add the webroot only.
                if($dir == "./"){               
                    $server->addDirectory($webroot);
                }else{
                    $tempPath = $webroot . "/" . $dir;
                    $server->addDirectory($tempPath);
            }else{
                   $server->addDirectory($dir);           
    // Initialize introspector for non-production
    if(!$amf->production) {
        $server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));
        $server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));
    // Handle request
    echo $server->handle();
    Now, upload your "My Release Build folder to your production server webroot"
    case 1: if you get "channel disconnected error, you have made some mistake and your path for zend or services folder is not right."
    In above case, "ZendFramework folder and services folder with all of other release files". To find out what is wrong, open this url :
    http://www.yourwebsite.com/gateway.php. if you see this lovely string there : "Zend Amf Endpoint". consider your are through with zend settings on server
    otherwse you will see relative errors.
    2. After fixing this step, try run your website, you will land into this error :
    Class “yourcorrectclassname” does not exist: Plugin by name ‘Classname’ was not found in the registry; used paths:
    : /home1/messoftc/public_html/oc/services/
    #0 /home1/messoftc/public_html/ZendFramework/library/Zend/Amf/Server.php(553): Zend_Amf_Server->_dispatch(‘fxnname’, Array, ‘classname’)
    #1 /home1/messoftc/public_html/ZendFramework/library/Zend/Amf/Server.php(629): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
    #2 /home1/messoftc/public_html/oc/gateway.php(69): Zend_Amf_Server->handle()
    #3 {main}
    Now, this is a zend framework bug, it does not automatically detect the php classes in your services folder,those who have run into this, must have googled hard to find the solution and this bug is also logged officially on zend server jira log.
    so, what is the solution? simple and effective. open your gateway.php file from "My Release Build"
    Add this little line :
    $server->addDirectory(dirname(__FILE__) . '/services/');
    after this line :
    $server->setProduction($amf->production);
    reupload this file to your production, you should see your Flex, Zend, php & Mysql in action.
    Here is a sample link I have created :
    http://www.eiws.co.in/testzend.html
    you may also visit the endpoint file:
    http://eiws.co.in/gateway.php
    If anyone still faces this issue, can contact me at [email protected].
    Credits: "To all developers who share their knowledge with everyone and google and thousands of blogs who provide a medium to share this knowledge"

    Richard Bates of flexandair.com figured it out. In my php.ini file, I had the memory limit set at 8M. After, changing it to 32M, it worked. Thank you, Richard!
    -Laxmidi

  • Flex with php air application

    Hi ,
    I am new in flex.
    Actually i make a flex with php desktop application. There are two problems which i am not getting:
    a.) I make three module which i load on tab navigator click . These mudules working fine . But when i make this project export relese build to make .exe file . These modules not added in installation file.
    i.e after installation i have to copy these modules .swf file in program files where the application installed. So i want to know is there is any method so that module added in the .exe file so that they by default goes at the
    time of installation of exe.
    b.) I use php services in this project and when i insatlled the application to system its not working untill i add the the project service php file and zend frame work folder on user wamp . Is there any method that all these happen by default at the time of insatllation.

    Hi,
    AIR is best suited to be a client application.
    P.S: Since you are using PHP, you may want to take a look at
    amfphp so that you can use AMF to speed up data transfer between
    your AIR app and the PHP server.

  • How to get Checkbox Value from Flex in PHP.

    Hi,
    I need to know how to get a checkbox value from flex in PHP-POST/GET because I don't know what is the value property of a checkbox in flex.
    Please Help.

    Hi,
    It is very simple. Follow the steps below to achieve the solution,
    1. Write a check-box change event to capture the value of the check box. Store this value in a variable(say bolChkSelected:Boolean).
    2. In step 1 you got the value of the check box. Now your aim is to send the value to php. Declare a httpService in your flex application(i think you are aware of using it).Ok..im writing it
    <mx:HTTPService id="sampleService" resultFormat='e4x' url='http://yourdomain/file.php' result='handleResult()' fault='handleFault()'>
    </mx:HTTPService>
    3. Now the actual solution... u need to send the shcStatus in to php..
    Declare an object to hold the data
    var objparameters:Object={};
    objparameters['CheckBoxdata'] = bolChkSelected;
    --in the above line... 'CheckBoxdata' is used as a parameter to php..you shud have the same variable name while accessing in php file also..
    in php file..
    checkboxstatus = $_POST[''CheckBoxdata''];
    echo checkboxstatus
    thats it..

  • Flash Islands Tutorial I - Confusion with Flex/Flash Builder Versions

    Hi Guys,
    i am new to the Adobe Flex/Flash Islands technology and tried to implement Tutorial I by Thomas Jung. Unfortunately i am confused by the various different versions for flex and the corresponding IDE's.
    As far as i understood SAP at the moment only supports Flex versions up to version 3.3 for NetWeaver 7 EHP1. Furtheron the Adobe Charting Components (used in the Tutorial) seem to be part of the Flex Builder Professional Version only.
    So i went to the Adobe Website and looked into the products and download areas. All i found was Flash Builder 4.5 Premium and the various Adobe and Open Source Flex SDK versions. I am using Flash Builder 4.5 as a trial right now. Unfortunately the Charting Components are not included.
    So the question i have is whether the Charting Components (e.g. <mx:BarChart /> )are included in the non Trial version of Flash Builder 4.5 Premium or whether there is any possibility to get them as an Add-On. Or do i have to use Flex Builder 3 Professional (i found no information about this on the Adobe Website)?
    Additional Hint:
    I found out that when i compile the poject with Flex SDK vesion 3.6 or higher, the compiler knows the <mx:BarChart /> tag. Also in that case the view designer is working. However FlashIslands is only supported up to Flex SDK 3.3. But when i choose 3.3 the <mx:BarChart /> tag and some other related tags are unknown.
    This is a really anoying issue.
    Best Regards,
    Dirk
    Edited by: Dirk Jäckel on Jul 19, 2011 12:14 PM

    HI Dirk,
    wtith Web Dynpro, you can only use Flex SDK version 3.3 and downwards. You can download the SDK here [http://opensource.adobe.com/wiki/display/flexsdk/DownloadFlex3]
    Flash Builder ships with Flex SDK 4.5 which is not compatible with WDA flash islands.
    As for the charts library, which Adobe referes to as the Data Visualization Component, it is also available as a separate download which can be unzipped into the same directory as the Flex SDK -- the library is available here [http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk]
    I must say I am also confused, because as far I can tell data visualization component is not included in 3.3, but SAP makes no mention of this. Hopefully someone else can enlighten us on this issue?

  • Flex and php file uploader cross browser problems

    Hi, I have a problem in flex and php file uploader. It was
    working fine in Internet Explorer, but nothing would work in
    Firefox and in other browsers. Firefox and other browsers was not
    sending the session with the file upload and was producing a login
    error. On IE the session cookie is picked up and the upload request
    uses the authenticated session, no login error. I'm newbie in flex.
    Please help me. Thanks in advance!
    Here's my code:
    bgupload.mxml

    Hello, I am Gamaliel Arredondo, i have solved this problem, the error is in the code, you have a mistake in your code, check it out.
    The way to run the flex applications, in my case, i installed xampp, in the htdoc directory i put the folder with the files of the application and all is working very well, only when the apache is running because if it is stoped the application show error, please review your code and if you have problems you can contact me by e-mail ([email protected]) i also fought with that problem but i could find the solution, i hope to help you.

  • Why doesn't my php service work on the mobile device but in the emulator?

    I currently have a browser version of my Flex app that uses a series of php services to provide database functionality.  It works well- now I am looking to add a mobile version.  I have segmented all my code such that I have a core of code that both the desktop and the mobile can use with the specifics placed on top.  I have been testing my mobile version in the emulator and the php services work fine.  But when I use the mobile application on the device it has no connectivity.
    I have checked and:
                                      <uses-permission android:name="android.permission.INTERNET"></uses-permission>
    is in my manifest and in the application the permission says full network access.
    I am attempting to run it on a Droid Bionic running ICS.
    Also the webservice endpoint is secured.  I have manually set it in the project in several locations (I don't think I missed any...)
    Any suggestions would be appreciated.
    Thanks,
    -Jonathan

    If serials don't work, you may simply have the wrong installer like one that is for an upgrade or different region of the world and using site license serials may not help the matter. Assuming your really mean Premiere 6, not CS6, that is. Anyway, beyond that generic advise nobody will be able to help you much. It's simply old software and even I can barely remeber those versions anymore much less any specifics regarding install and licensing back then.
    Mylenium

  • Flex vs php

    hey everybody
    i am biginnner with flex developpement but i have enough knowledg in dynamic web developpement ( with dreamweaver).
    i want to know the equivelence between developping in php and flex.
    i mean in php we are used to work with pages, links, passing parameters.
    is it the same thing (architecture) in flex ? or flex has its own architecture to work with multiple pages and relatring them with links and parameters.
    thx for the help

    hey...
    i found the answer here :
    http://www.adobe.com/mena_fr/devnet/flex/testdrive.html
    thnx for viewing

  • MyProject tutorial error (new to FLEX)

    I tryig to get Brian Szoszorek tutorial "Building your first
    data management application with ColdFusion and Flex" and I can
    seem to get this to work. I'm currently using the the 30 day FLEX
    3.0 trial version. with CF8. I should mention that I'm totally new
    to FLEX
    . Here is the error that I'm getting during
    initializing...
    [MessagingError message='Destination 'artgallerydataservice'
    either does not exist or the destination has no channels defined
    (and the application does not define any default channels.)']
    at
    mx.messaging.config::ServerConfig$/internalGetChannelSet()[E:\dev\3.0.x\frameworks\projec ts\rpc\src\mx\messaging\config\ServerConfig.as:624]
    at
    mx.messaging.config::ServerConfig$/getChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\s rc\mx\messaging\config\ServerConfig.as:255]
    at
    mx.messaging::MessageAgent/initChannelSet()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\m essaging\MessageAgent.as:1083]
    at
    mx.messaging::MessageAgent/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mes saging\MessageAgent.as:1059]
    at
    mx.messaging::Producer/internalSend()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messagi ng\Producer.as:143]
    at
    mx.messaging::AbstractProducer/connect()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\mess aging\AbstractProducer.as:408]
    at mx.data::DataStore/
    http://www.adobe.com/2006/flex/mx/internal::initialize()[C:\depot\flex\branches\enterprise _bridgeman_final_hotfixes\frameworks\mx\data\DataStore.as:2196
    at
    mx.data::ConcreteDataService/fill()[C:\depot\flex\branches\enterprise_bridgeman_final_hot fixes\frameworks\mx\data\ConcreteDataService.as:895]
    at
    mx.data.mxml::DataService/fill()[C:\depot\flex\branches\enterprise_bridgeman_final_hotfix es\frameworks\mx\data\mxml\DataService.as:526]
    at myProject/fillArtistDP()[C:\Documents and
    Settings\bp9238\My Documents\Flex Builder
    3\myProject\src\myProject.mxml:18]
    at
    myProject/___myProject_Application1_creationComplete()[C:\Documents
    and Settings\bp9238\My Documents\Flex Builder
    3\myProject\src\myProject.mxml:2]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.core::UIComponent/dispatchEvent()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\co re\UIComponent.as:9051]
    at mx.core::UIComponent/set
    initialized()[E:\dev\3.0.x\frameworks\projects\framework\src\mx\core\UIComponent.as:1167]
    at
    mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\3.0.x\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:698]
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at
    mx.core::UIComponent/callLaterDispatcher2()[E:\dev\3.0.x\frameworks\projects\framework\sr c\mx\core\UIComponent.as:8460]
    at
    mx.core::UIComponent/callLaterDispatcher()[E:\dev\3.0.x\frameworks\projects\framework\src \mx\core\UIComponent.as:8403]
    Any suggestion is GREATLY APPRECIATED!

    The HTML page to display the Flash Player needs
    <object> and <embed> tags. See the recent Forum
    question, "Problems with Flex 2 application align" for an example
    of such a wrapper.

Maybe you are looking for

  • Error message during SC approval

    Hi Experts, We are working with SRM 7.0, SP09. I have got an issue in production system. Approver is getting an error message when approving SC as Execution of Function Module /SAPSRM/FU_WF_RFC_DECISION failed with error 'SAPSRM/CX_PDO_WF_MODE_BAN Ac

  • Removing the chrome  

    Okay, one problem I've hit the wall with is opening a new window, without all the juck that IE and other browsers put up in the top. It seems like AS offers no way to control the window outside of its environment. I tried Java, but I know nothing abo

  • Cost of poor Quality - Sales Return

    Dear All, My client wants the cost of customer return should be booked as Cost of Poor Quality. as after analysing the returned goods, the defective parts will be scrapped with reference to cost center this cost will be booked as cost of poor quality

  • JavaScript File, Save As para la consola de Acrobat XI

    ¿Cómo lograr que al guardar un formulario PDF con otro nombre utilizando el menú (File, Save As) solamente los campos que han sido rellenados pasen a modo (Read Only)? ¿Cuál sería el JavaScript? Aquí muestro la consola de JavaScript de Acrobat XI par

  • Firefox Sync error

    So, every time I try to Sync my main PC an error appears: "Sync encountered an error while syncing: Unknown error. Sync will automatically retry this action." It synced partially, since my bookmarks and passwords appear on my other device. Error Log: