Php :: Bundling PHP MySql With Flex To Be Given To A Client?

Aug 1, 2009

I made an application using Flex,php,mysql. Now to give it to a client, I am bundling this flex application with xampp. There are few problems with this approach :

1. Whenever the flex application runs, an xampp window also opens up.

2. The Apache port number, which I am giving to the client is fixed. Same for mysql port number.

What could be a better alternative to overcome these?

View 2 Replies


Similar Posts:


Mysql :: Migrate A Preexisting Flex/Java/Hibernate/MySQL App Onto A CD For Portable Distro?

Feb 2, 2011

I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.

To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?

View 3 Replies

Mysql :: Accent MySQL-Flex/ZendFramework?

Oct 22, 2011

In my table the Collation is:latin1_swedish_ci (but i tried UTF8_unicode too).In my flex application when it shows the table,it displays it correct,with all accent and pointing correct,but in the table is like :

View 1 Replies

Mysql :: Create An Insert Form With TextInput Containing ComboBox Provided By MySQL Database Table?

Jan 13, 2010

I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables

View 1 Replies

Configure MySQL JDBC Driver Mysql-connector-java-5.1.12?

May 25, 2010

I have downloaded MySQL JDBC driver from [URL]... How do I configure it?

View 1 Replies

Flex :: Debugging - Running A Webapp Base Flex Client In IntelliJ?

May 10, 2011

Is it possible to run a Flex client in IntelliJ internally and have it talk to a separately deployed server instance? The server's a java webapp. This will make developing, especially debugging, much easier. What I'm trying to avoid is having to rebuild and redeploy the webapp to get the updated Flex code in it. I want to just build flex and run it against the server.

The flex client is embedded in an HTML page on the server, so in production the users access the client by going to a web page. We're using GraniteDS if that's important.

Update

I'm managed to cobble something together, but it's ugly.I made a copy of our wrapper HTML page and fixed the links to refer to the SWF in target.I setup the IntelliJ run config to point to that HTML page.I set the 'Place SWF file in a local-trusted sandbox' to true

Hardcoded the {server.name}, {server.port}, and {context.root} values in the service-config.xml GraniteDS config file to localhost, etc.

I can mavenize #1, but #3's isn't really a permanent solution. That part is still a problem because I can't check this in.

View 1 Replies

Media Server :: Find Client Disconnected When Client Lost Net Connection?

Oct 27, 2010

how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.

View 1 Replies

Flex :: Adobe Flex - Doing Group By At Client End (DataGrid To Pie Chart)?

Dec 23, 2010

I am in a situation where user gets the cars data from the database based on the selection and displays it in datagrid like below ( for example)

Company Model Year No
GM Chevy 2010 10
GM Chevy 2009 5
GM Pontiac 2010 12
Honda Civic 2009 12

and there will be a link next to datagrid to get Pie chart based on the data displays in the data grid . The pie graph should display grouping by company and the count . I mean for the above example that should give with two pie items , one for GM showing the number of vehicles ( in this case 3 ) and Honda showing the number of vehicles ( in this case 1 ).

I thought of getting it from the database by querying and grouping it .But here the problem is after getting the data above in the datagrid user can able to filter at client end ( By year or model ) and can say get graph . This time that should only display the graph for the data visible in Datagrid .Grouping on database for every operation is becoming expensive. Since we have already data available at client end , is there any way to group it at client ..?

View 2 Replies

Flex :: Recover The HttpHeader Information From A Flex Client?

Aug 11, 2009

Is it possible to recover the HttpHeader information from a flex Client? I want to do the following:

User download the flex client from a web site

In each communication flex client catch the HttpHeader information in order to change (If it is necessary) the host information to be connected (For example in a HA configuration)

View 2 Replies

Flex :: Generate Flex SOAP Client Using Maven?

Aug 9, 2011

I have a java server side project which contains JAX-WS web-services (using JavaEE 6 and the @WebService annotation).

Is there some kind of plugin that would allow me to generate Flex client stubs during my maven build ?

I have taken a look at enunciate, but it seems to generate only AMF client.

I've also tried to look at GraniteDS, but their doc seems a little opaque to me.

Notice my Flex project is compiled using flexmojos, which contains a flexmojos:generate mojo that should be able to generate domain object (however I don't understand how to say it to use domain classes from ANOTHER project, and not from a different folder).

So, is there any maven plugin that would allow the kind of feature described in this Adobe page ?

View 1 Replies

How To Update A MySql DB Using Flex

Aug 10, 2009

i've done some simple apps to get the felling of it, nothing involving updating a file or a database.I wanted help, how to do a query to a MySql DB from a Flex application (thats gonna be running in a web server).I didn't saw any duplicated questions, sorry if any exists, just point me to it.

View 5 Replies

Flex :: Connecting To Mysql Using Php

Mar 8, 2011

I wanted to use flex line chart for displaying data stored in mysql table. Can anyone suggest me on how do I do this with flex as UI and mysql as db, I am not sure how to call .php file in flex to query from mysql. I wanted to show some data of time v/s temperature.I wrote a php file to query data from mysql, but my flex program is not able to connect to mysql, is there any configuration I need to update. I am using XAMPP

View 1 Replies

Actionscript 3 :: Connect Flex With Mysql?

Dec 3, 2009

Possible Duplicate: How to update a MySql DB using Flex

I want to connect flex with mysql

View 4 Replies

Php :: Get Some Data From PHP/MySQL And Send It To Flex?

Jan 1, 2010

I'm trying to get some data from PHP/MySQL and send it to Flex..Let's say That my object in Flex would look like this:

package some.package.VO {
[RemoteClass(alias="VOPerson")]
[Bindable]
public class VOPerson {

[code]....

In my case, personDetails is an Array, and in theory, it could be some other object... But is it really necessary to make it an object? I do not intend to use that data nowhere else except within my VOPerson class. It is some associative array, and I can easily transform it to another object, but there will be lots of similar situations in my app, so I would like to avoid making unnecessary (value) objects if there is no need for it...

View 1 Replies

Mysql :: Formatting Text In Flex?

Jun 8, 2010

basically I have an admin flex page that allows the user to enter text into database. Then the frontend app will take the database entries and display them to the user. However there is no formatting. Do I need to insert html into the database then read that html again?For the user using the admin, they probably wont know html, so is there a simpler way to format?

View 1 Replies

ActionScript 2.0 :: Client To Client File Transfer

Nov 19, 2008

Can we perform client to client file transfer, client to server can be done by FileReference. but how do we do client to client transfer, for example if a user wants to send file to another user to whom he is chatting online.

View 3 Replies

Mysql :: Updating From Adobe Flex Application

Apr 18, 2011

I am very new to Flex. I want to build an application that will contain many radio buttons. I want to know how to update mysql by the status of radio buttons.

View 3 Replies

Mysql :: Can't Add Html Rich Text To Database From Flex

Aug 2, 2010

So I want to store richtext in my database created from Flex 3's rich text editor, but I am unable to.

for example this would need to be placed into the database:

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">sdfsdfdsfsdfdsf</FONT></P></TEXTFORMAT>

Is it because of all the special characters?

Is it common practice to store formatted text in a database?

View 1 Replies

Flex :: How To Convert Date Object To MySQL DateTime

Dec 13, 2010

How to convert flex date object to sql date and time, I am using AMFPHP to connect with mysql.

View 2 Replies

Php - Send An Array Of Flex Checkboxes To A Mysql Server?

Jul 26, 2011

I am using FB for PHP 4.5, ZendAMF, and I read that I do not need to use HTTPService for what I want to do.

Table structure:

people: {pID, pName}
departments: {deptID, deptName}
people_departments: {pID, deptName}

I have a slightly complex flex script, People.mxml. In the PersonAdd state, I have a form which will be used to send data to the mysql server. In that form , I have a repeater that will create a checkbox for every department in my database. When I click the Add button, I want to insert data into the people and people_departments tables.

[Code]...

[Edit] I am using an s:Checkbox and I do not have the data property. mx:Checkbox does but I cannot use the mx:Checkbox component in my project.

View 2 Replies

Java :: Flex - How To Connect MySQL In Flash Builder 4.5

Dec 27, 2011

While I am connecting the dateservice via menu Data> connect to BlazeDS the error showing that RDS server message : connection refused : connect

View 1 Replies

Flash :: Flex - Do Sessions With A Client

Jan 28, 2010

Since the Flash Player (or, more exactly, the URLLoader class) will not let you read HTTP response headers or cookies set by the server, and if you get hold of a session cookie through some workaround like reaching out to the browser and run JS, you can't send it to the server, because, among others, the Cookie header will be blocked. Now I'm building a Flex client against an HTTP API for my server product. I control both sides, so I can get get around the above limitations, now I'm wondering how. I see the following options:

include the session token in the HTTP payload include the token in the URL build my own HTTP client (... with blackjack, and hookers ...) in AS, using the Socket class I don't like (1), because I'm reimplementing functionality in my protocol that is already built into Struts, which I'm using to implement the server side. I then have to ensure that either both behave the same way, or turn off the usual way of session management and force other clients to use my protocol where they could just have the browser deal with it. I don't like (2), because I understand that there are security concerns with this, although I'm not too sure which

I don't like (3), because it's 2010 and tons of HTTP clients have been written by smarter people than me. So, are there other opportunities? Which of my "don't like"s do you reckon least severe? Are there ways to mitigate the problems I listed? For example, how insecure are session tokens in URLs really?

View 2 Replies

Flex :: Setting Up Web Service Client?

Jun 1, 2010

I am new to Flex and needed some help setting up Web service client.I have a web service of method: public String printEchoStr(String str);I am facing problem while creating action script to call this service.I am getting error1067 : Implicit coercion of a value of type String to an unrelated ty generated. webservices:PrintEcho.I am not sure if this is the correct way.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:srv="generated.webservices.*"[code]...........

View 1 Replies

Flex ::How To Identify Client Web Browser

Jun 23, 2010

How do we identify the user's web browser in flex ? Based on the browser I have to display some text in my flex application.

View 3 Replies

Flex :: Html5 - App Be A Websockets Client?

Dec 13, 2010

I don't see why not! Has somebody implemented this so far? Any links?

View 1 Replies

ActionScript 3.0 :: Method To Connect A Flex Application To A MySQL Database?

May 24, 2010

What is the easiest method to connect a flex application to a MySQL database?

View 7 Replies

Flex :: Detecting Client Screen Resolution?

Oct 23, 2009

How can i detect my client's screen resolution .. in Flex??

View 2 Replies

Flex :: Use Dto's To Transfer Data Between Server And Client?

Oct 28, 2009

I've read some books on creating stateless websites, I've read some about stateful client applications, but a lot of complexity comes along when you have to combine both. We have a Flex application that needs to persist data to a database via .NET services. Things to keep in mind are:

- Concurrency (optimistic/pessimistic)

- Performance: Flex needs to load in lots of data so lazy-loading is often necessary.

- Do you use Dto's to transfer data between server and client?

I'll tell you the history of our product. We've used SubSonic from the beginning as a o/r mapper. SubSonic objects are converted to dto's written by us and these dto's are transferred to the client. Clientside the dto's are converted to the domain model. If clientside a domain model object needs to be saved, it is converted back to a dto and send to the server. Server side the dto is converted to a subsonic object and saved to the database.

Now, some time ago, we needed the domain model on the .NET server side... so now we have like three models on the server side, the subsonic model, the dto model and the domain model. The dto model is more simple and resembles the database more, the domain model has much more logic. It gets complex... We now have to synchronize the AS3 domain model code with the C# domain model code. If we could do it again (of get time to refactor) I think we wouldn't use the dto's anymore, but transfer the domain model between client and server. Dto's are simple objects so easy to transfer. Domain model objects can be very complex.

View 2 Replies

Flex :: When Mapping Inheritance In Web Service For A Client

Dec 1, 2009

I have an issue when consuming a web service from a Flex app. In the backend I have a hierarchy, let's say I have an abstract class Fruit, and 2 implementations: Apple and Orange. Fruit has a property, name, Apple has a property color, and Orange has a property radius. Then, I have a service wich returns a collection of Fruit. When I consume it from Flex, this collection returns objects wich type are Fruit, with its name property; but I lose all the properties for the implementation classes (color nor radius). So, the question is, does Flex support inheritance mapping when using web services? If not, is there any workarround?

View 1 Replies

Flex :: Send Typed Object From FMS To Client

Jan 2, 2010

I have following object in the FMS

User = function(userName,userId)
{
this.userName = userName;
this.userId = userId;
}

I need to send the list of user to the client swf. Once I initialized the User object collection to an array, array element is undefined when I read it from the client.

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved