Flex :: Model Driven Development Using LiveCycle Data Services
Jun 18, 2010
What are your advises on using model driven development in developing enterprise applications. Adobe's LiveCycle Data Services looks very promising, I have found numerous tutorials/videos that shows how fast an application can be build by having methods/functions auto-generated.What are the best-practices, is it good/bad to use those auto-generated methods, they can really save a lot of time.
View 1 Replies
Similar Posts:
Nov 4, 2010
using model driven development in developing enterprise applications. Adobe's LiveCycle Data Services looks very promising, I have found numerous tutorials/videos that shows how fast an application can be build by having methods/functions auto-generated.What are the best-practices, is it good/bad to use those auto-generated methods, they can really save a lot of time.
View 1 Replies
Jun 4, 2009
I am a new flex developer.I would like to know about the LCDS. What it does?How to configure it?Do I need to know Java? Can I get some sort of tutorial pdf for it? I have it on my system. I need to know about it.
View 4 Replies
Jun 28, 2009
I'm trying out the FlasBuilder ide with ColdFusion 8 on OS X. When I try to create a new project, I get stuck at the server setup screen that forces you to validate your paths for your ColdFusion root folder and your webroot. Every combination I try says either "LiveCycle Data Services is not installed at the specified location" or "Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml." The flex-config.xml file is sitting in that directory. Is there some trick to getting this to work?
View 1 Replies
Nov 4, 2011
If user change the value of the TextInput, then click refresh button to retrieve the data model from backend again, the GUI value will not change back. Re-binding not happen, Since the value of data model not changed, no propertyChanged event fired.In this case, I must Programmatically set the model value to the GUI after data refreshing done.I know bi-directional binding can solve this problem(when user change value on GUI, set the new value to data model immediately). But sometimes I cannot use bi-directional binding, for example, the data model is a int, but user input a non-int value, I cannot set the value to data model. So the value in data model do not change, when refresh data, rebinding still not happen.
This will make the data binding useless. How to resolve this?I put pseudo-code here for now, I will put real code later:1. retrieve a data model from server, via blazeds or something else.2. bind the model to a TextInput on GUI.3. user change the TextInput text.4. User click a refresh button, triger retrieve the model value again.5. Now since the model value do not change, no PropertyChanged event fired.6. GUI value still is the user's input, not the value from the model. can clear the model value before set the velue back, make re-binding happen.(but sometimes you do not know how to clean the model value, take int for example, you may do not know the original value and happen set the same value). Or I can manually set the model value to GUI. But both are not good looking.
View 3 Replies
Aug 17, 2010
I've recently been working on some bigger projects in Flash and would really like to be able to use Test Driven Development but haven't found a great way to do so. I'd imagine its a bit harder to do in flash as most of its projects require heavy user interactivity (drag and drop with mouse, keyboard input to move etc...).
View 2 Replies
Feb 6, 2010
Even though there are plenty introductions to TDD (even in PHP, my primary programming language now),My friend introduced me TDD a while ago, but I wasn't actually able to understand it - what's the point in writing tests to everything first - even the simplest tasks - when in the end, it looks it's more efficient to test only if something doesn't work, although it might be much harder to locate the bug (this could be solved through VCS, no?).So is there any introduction, with dead-simple examples and arguments behind "pros"?Something like "yeah, it's better, because you have better design - look at this example..."I understand that you create "test" and then the function, that should pass the test. But how you say to language, what results should it have? To me it looks that you do some function... debug it (the same way as you debug in no test driven dev.) and call it test and do it again..Also, is this applicable to MVC approach? Or rather, CodeIgniter Newbie MVC?Read a bunch of posted and googled advices, plans, ways and tutorials. I am still not entirely into TDD - I mostly have pretty good visualisation and I think (hope?) I write pretty maintable code, so i still see it as an extra work...
View 7 Replies
Feb 20, 2010
What are good books / site where you can learn the best practices for event driven programming in actionscript (3 obviously).
I've got a big project coming up and, to be honest, my flash is usually a big mess of classes and I don't want the the next one to turn into a ball of hair behemoth.
View 2 Replies
Jul 3, 2011
I have designed "the core" of the application i am working on ( it communication with the server, data processing, etc. ), and now i am a bit stuck on the User Interface, because i wish it to be specific, and probably different on the different platforms it goin to run on ( PC, tablet, gsm ).
My question basically is How to separate the "core" of the application, which must remain the same for all of the platforms, from the UI's which shall be very different applications ?
View 1 Replies
Dec 2, 2011
How to send to the skin some value which have changed?
View 1 Replies
Mar 2, 2011
When I connect data services using blazeds I get following error message.
[Code]...
Why am not able to connect? But when specify remoteObject in the declaration tags and call the methods it works fine.
View 1 Replies
Jan 23, 2011
I've made a component based on a mx:TitleWindow that contains linkbuttons that I'm using as a context-menu. The TitleWindow component contains link buttons like this:
[Bindable]
private var _showEmailThis:Boolean = false;
[Bindable]
private var _showApproveThis:Boolean = false;
[Bindable]
private var _showReviewThis:Boolean = false
[Code] .....
This component contains a large number of links and is re-used by multiple modules in the same application. Within each module, this component is used when a user clicks on a row in a datagrid. The code looks like this:
In "Requests" module:
private function dgRequests_click(event:MouseEvent):void {
menu.showApproveThis = true;
menu.showReviewThis = true;
}
In "Performance" module:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
menu.showReviewThis = true;
}
As you can see, the visibility of individual linkbuttons is controlled within each module by setting boolean properties. If I alter this component to use a renderer, how can I control the visibility of the linkbuttons from the code in each module (there are over a hundred links with different functionality - not every link will be used in each module)? Note: it is not known from the back-end which grid within which module uses which link. This is set in the front end within each module's actionscript file. E.g., if the XML looks like this:
[Code] .....
And I set the Email link to show in the module like this:
private function dgPerformance_click(event:MouseEvent):void {
menu.showEmailThis = true;
}
How do I make it take effect? Is there a way to control the visibility of a linkbutton within an item renderer in a component from the module that uses that component?
View 2 Replies
Dec 5, 2011
I'm making a program in flash builder 4.5 using WebOrb 4 (which is fantastic, I might add). When I go to deploy, however, it gives me this error:
>There was an error during model deployment for xxxxProgram.
>
>The server returned the following message:
>
>Unable to contact the RDS Server "Data Services on Tomcat (localhost)."
>
>Connection refused: connect
>
>Do you want to continue launching your Flex application?
I've poked around online for a solution, but for the most part I either don't understand them (forum grammar can be somewhat obtuse) or the answer in the post doesn't apply.
View 1 Replies
Apr 10, 2011
As it is said here: [URL] "If you do a Google search today for "MVVM and Flex", the first post is by somebody who claims that MVVM is not a good fit for Flex. I couldn't disagree more. Out of the box, the Flex framework makes it much easier to implement a Presentation Model than similar MVVM implementations in Silverlight. That is not to say that there aren't good third-party libraries that make it easier in Silverlight, but without any help, it is easier to do in Flex." So MVVM as LOGICAL CONCEPT can be implemented in both but the way it is implemented in Silverlight requires more Plumbing than Flex.
What prevents Silverlight MVVM to be implemented like Flex ? Doesn't Silverlight have same capability in event system to do the same? If yes why does Silverlight do things more complicated what's the advantages then ? Is it about using Class Interfaces which are more strongly typed? What are the disadvantages also ? For example as for implementing MULTIPLE VIEWS for 1 View-Model does Flex implementation make it also more obvious?
View 2 Replies
Jul 12, 2009
how to connect web services to flash
View 2 Replies
Jan 18, 2007
I am new to web services in flash. I am running Flash 8 and am attempting to use the Web Services component. I have defined my web service, bound to text fields on my form. Every thing works fine when I test the movie. Data is returned as it should. But when I put the movie on the web and I try to get data back, I get nothing.
View 2 Replies
Mar 29, 2009
I could play a XML Driven SWF just fine by itself But when I load it into another XML Driven SWF, it won't get the data.Is there a way to make both XML SWF worked within each other?
View 3 Replies
Feb 27, 2012
Do flash 3D display engines such as Papervision allow data to be exported from the swf to a php back end and vice versa (PHP into model)? Does Unity allow for this?
If I was to build a simple 'change the colour of the model' application with a UI in a 3D package such as Papervision, could I then export the user choices to php or perhaps a javascript intermediary?
View 2 Replies
Jun 26, 2009
I want to load multiple players in my solution.Is there any problem if they have same data model with different instances names?
View 1 Replies
Jul 29, 2010
Is it possible to create a data driven movieclip for the Pie Chart in Flash.
View 2 Replies
Dec 17, 2010
I feel like MVC misses a letter to describe the situation in a game. The model to me seems to consist of two distinct parts:
A group of vars that describe the current game state (these will have setters that send out events on change, and getters so that the view can access what changed)
The rules of the game that determine what happens once a certain input (i.e. shoot();) has been received by the controller (these will update the group of vars as deemed appropriate)
The view will exclusively be reading from 1 while the controller will be exclusively communicating with 2. This is why I make the distinction and want to divide them up into class1 and class2.
My questions:
I am unsure if I should be making this distinction, since I haven't seen it anywhere. If I should; should I make two separate classes, or should I extend class1 with class2? Finally, I am having trouble making sure that only class2 (and not the view) can change the variables in class1 (while still being able to send out an event when a value changes).
View 2 Replies
Feb 11, 2009
I have a class that converts external XML to various controls. The class makes a check to see what kind of control to use from the XML (Radio / Textinput / Date etc). and then adds it as a child of a form item, the form item is then added to the parent form and the loop is repeated until all nodes have been checked for controls. This work great. I would like to bind the data in the control with a data model but I'm not sure how to go about doing that.
I saw in the livedocs you can create models in MXML but I don't think this will work as the model will change depending on the XML as well as the items that are recorded. Another thought was to pack all the values into an array but I couldn't get this to work. If the array looks like a good idea I'd like to record 3 values within the array called 'answers' I'll post my code below...
ActionScript Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Form xmlns:mx="[URL]" creationComplete="loadData()" verticalGap="1">
<mx:Script> <![CDATA[
import mx.events.FlexEvent;
import com.neph.vo.PatientVO;
[Code] .....
View 1 Replies
Feb 12, 2009
I'm new to FLEX.I've a requirement where i do have to load the data into Class Based Model(VO) from an Employee.xml which has got employeeName,departmentName,address & projectId tags.
View 0 Replies
Jun 16, 2009
I have been tasked to research methods for creating powerpoint-style presentations, but using Flash for better transitions, effects, etc. This also needs to be data-driven so that information can be easily swapped out for different presentations - maybe fed by an XML file?Any suggestions on where to start looking? Can Flash handle something like this, even outputting the swf of the final presentation?
View 1 Replies
Jul 29, 2010
Is it possible to create a data driven movieclip for the Pie Chart in Flash.
View 3 Replies
Sep 25, 2009
I have a dynamic text field in Flash CS4 which gets its value via XML from a back-end MySQL database. The issue is that I want to make the text field to display HTML text
my_txt.htmlText= <a href="http://www.pantene.com>"PANTENE COMPANY</a>
However, there is a problem in Flash both AS2 & AS3 and both CS3 & CS4 in the sense that when there are special characters ie: double quotation marks ", the XML loader does not read (retrieve) any data from the database.
How can I suppress these special characters ? How can I find a workaround ?
View 4 Replies
Aug 23, 2009
I bought a flash site template that loads xml driven swfs inside the main swf as different menu items are clicked. The modules that come with the template work fine, but I don't know how to add a third party xml driven swf, so that it shows up properly. While the third party swf works fine as a standalone, the embedded version loads just an empty movie.
View 4 Replies
Feb 13, 2007
I'm using LoadVars to retrieve some data from a table using php. When I use the app from within my Flash environment I am able to retrieve the info, but once I post the swf to the website nothing happens. I"m posting to the same remote page. I don't think LoadVars is even firing since the trace in my else clause is not firing.
var reserved = new LoadVars();
reserved.load("
http://www.thefatblackpussycat.com/reservations/getReservedTables.php" );
reserved.onLoad = function(success)
[code]....
View 2 Replies
Jun 29, 2009
I have a web application that functions as a dashboard, allowing a user to see summaries of historical data to view trends, etc. As an extension to this, I want to allow the user to drill-down into the historical data if they so wish.What this will amount to is a table of time-value pairs, showing the time a particular data point was recorded as well as its associated value. The issue is that there could be a very large amount of data on record (millions of points is entirely possible), which means it wouldn't work to load all the data up front and display it to the user.
So far, my best idea is to implement the table of time-value pairs with "infinite scrolling" - i.e. the first x points are loaded and then as the user scrolls down the next x points are fetched and so on until the user reaches the end of the data (with a fixed-size cache of points, so that I don't run out of memory). The issue with this approach, though, is that there's no way to get to the end of the data without first fetching every point in between.
Another option would be to have a navigation interface with forward and back buttons, as well as some sort of date chooser so the user can quickly navigate to any data point they wish. This solves the problem of the first idea, but this navigation interface is far more clunky and less intuitive.My question is: is there some happy medium? A UI where it's clean and easy to navigate through the data but at the same time provide some method of jumping to a specific point in time?
Edits based on comments below:The development environment is flex and the database is SQL Anywhere, though the back-end logistics are less important to me than a clean, functional UI.
View 1 Replies
Sep 30, 2009
The game will be on a school VLE (virtual learning environment) like 'Moodle'. Can you export to email? Spreasheet? Or can it only be done with php? Do not want to be spending weeks on it!
View 1 Replies