Below is the text of the page https://andriyo.kiev.ua/ stored 2008-04-27 by archive.org.ua. The original page over time could change. View as original html

101010

101010 [http://andriyo.kiev.ua] the Answer to Java, Flex and everything March 8, 2008 Memory optimisation trick for ActionScript objects March 08th 2008 Posted to actionscript Sometimes we need to be extremely greedy about how much memory out objects take. For example, we need to create not thousands but millions of objects. In this case we’d like our objects take as less memory as possible. Consider following class: public class Foo { public function Foo() { } public var mandatoryVar:String; public var optionalVar:String; } This class has two string variables. One of them is mandatory while another not. In other words mandatoryVar always has value, and optionalVar is set only in few objects. The problem is that optionalVar still takes 4 bytes. It’s not much but if you have millions of objects it would be a lot. Using dynamic objects is not an option for my as it adds another 12 bytes. First, I was thinking about something like “union” data type in C++ to optimise memory usage. But after all, I found the solution loosely inspired by rational databases. Here is revised class public class Foo { public function Foo() { } public var mandatoryVar:String; private static const optinalValues:Dictionary = new Dictionary; public function get optionalVar():String { return optinalValues[this] as String; } public function set optinalVar(value:String):void { optinalValues[this] = value; } } I replaced public property with couple of get/set functions. The value itself is stored in static dictionary variable. Note that there is no object variable anymore for optionalVar - so we saved 4 bytes per object. Comments(0) February 3, 2008 BlazeDS prerelease February 03rd 2008 Posted to Uncategorized One thing i personally find useful if the source code of top casinos en linea mirar sus oponentes hábitos. RPC framework. It’s back again Who needs books, tutorials etc if you have the source code? Comments(0) January 3, 2008 Flex spreadsheet application got its home and name January 03rd 2008 Posted to Flex , spreadsheet Please let me know if you need invitations, or try to register here http://www.idubee.com/Start.shtml Desarrollo de un juego de poker gratis español de las apuestas de los jugadores del baccarat, el banquero entrega la cantidad en juego de baccarat -en fichas- al croupier para su custodia. Comments(1) December 13, 2007 Open source remoting and messaging for Flex/AIR is out (BlazeDS) December 13th 2007 Posted to Flex Check this out http://labs.adobe.com/technologies/blazeds/ It sounds very interesting Will it kill GraniteDS? Comments(0) December 10, 2007 Short update on what’s going on with spreadsheet application December 10th 2007 Posted to Flex , spreadsheet We continue implementing features reserved for Release 1. And now we’ve got server and what is even more important power users who have been using spreadsheet applications for years and eager to help us with requirements and specs. As for features we’ve implemented simple search (in spreadsheet) and sorting. Now working on user management stuff (it’s not related to spreadsheet but nevertheless should be done). If you want very early preview of the site, please drop the comment here. We are implementing a prototype (prove of concept style), the focus is on features not scalability on performance (though we keep it in mind). Thank you for your attention Technorati Tags: flex , spreadsheet Comments(0) December 4, 2007 New Flex Spreadsheet application demo December 04th 2007 Posted to Flex , spreadsheet I’ve added new some new features, so please check them out at New Spreadsheet demo Here is basic list of features (currently focus is on implementing expected functionality then we’ll add something that makes difference ): 1. Online spreadsheet editing, selection, formatting, formulas, search, sort, printing and everything else you expect from decent desktop spreadsheet application 2. MS Office files, OpenOffice files support (import, export) 3. Offline mode (you still can edit your files offline and then synchronize it with online versions) 4. Sharing on the web, among friends and hiding from enemies More detailed feature list we use as our to-do list (only user oriented features) Cell selection ABC/123 Rules Content copy/cut/paste Cell editing Row/Column/Cell formatting Cursor browsing (Tab, Enter) Basic formula evaluation Cell addresses mouse entering File manager (open file, new file, save file, save-as file, import file) Cell formatting (string, numeric) Release 06.12.2007 feature list File manager (export file to MS Excel) Spreadsheet autofill Release 10.12.2007 feature list Search, replace Sort File search by content, tags, meta data Release 14.12.2007 feature list Version support Offline support Rollout to the site This is basically all features for release 0.5 Next release features Undo, redo Currency, date, time format for cells (advanced formatting) insert, delete rows and columns Insert image, SWF Wrap text in cells Comments to cells Cell types: simple (string, number, date), advanced (dropdown list, checkboxes etc) Merge cells Print layout, preview and printing Share to friends, to everyone, accessible by the link Auto save Range naming More functions Programmatic functions (LISP like) Online services functions Revision operations like compare revisions, revert to revision Search in revisions Import from CSV, ODF Export to CSV, PDF, ODF, HTML AS3 API Chart support (charting components are not free in flex so probably won’t be implemented or will be implemented thru server-generated charts, will see) Comments(0) November 28, 2007 Spreadsheet application in Flex November 28th 2007 Posted to Flex If there is anybody reading this, i’d like to know what you think about this component (and application) that I and my friend Denis worked on in our free time last two weeks. I think it will be good online replacement for desktop spreadsheet applications. It will support MS Excel importing/exporting (using Java back-end (powered by GraniteDS)). We are planning following feature set for first release 1. Cell selection - done 2. ABC/123 Rules - done 3. Content copy/cut/paste - done 4. Cell editing - done 5. Row/Column/Cell formatting - done 6. Cursor browsing (Tab, Enter) - done 7. Basic formula evaluation - done 8. MS Office format support - work in progress 9. Data sorting 10. Data search 11. File saving on the server, on the client, loading from the server, from the client, file revisions Spreadsheets will be saved locally and remotely on the server. Locally the will be stored in SharedObjecs (in this way we want to implement off-line availability, local files are synchronized with remote when connection is established) Also plugin architecture will be presented so others could contribute additional functionality. And it will be free, as I consider it as an exercise in Flex framework, Java EJB3 and all. But we’d like to deliver a stable and full scaled product so other people can benefit of RIA technologies available now. Download demo here Spreadsheet demo Comments(2) October 31, 2007 Creating Adobe Flex application backed by Granite Data Services (EJB) October 31st 2007 Posted to Flex , Java In this tutorial we are going to create a basic Enterprise RIA based on Adobe Flex 3.0, Granite DS and Java EE (running on JBoss 4.2 as Java Application server). The application will be a classic master/details form for employees editing. Each step could require some tools downloaded, installed, used. They are freely available and almost all of them are well known to average Joe developer. Before we go further, download and install JBoss 4.2 (that one with EJB3 support), Oracle 10g Express or MySQL 5 (or any other DB with available JDBC driver, however, I’ll make configuration only for Oracle and MySQL), Apache Ant, Adobe Flex SDK 3 (or 2, should work for 2nd Flex too), and finally GraniteDS’s graniteds-ejb3-0.4.0.zip and org.granite.gas3_0.4.0.zip (http://www.graniteds.org). Optionally, you could help yourself with Adobe Flex Builder for Flex development, and JDT (java tools for Eclipse environment). but I’ll try to make thing less dependable on these IDEs. Part 1 (Setup) I’ve packed all files that you will need to start a Flex/Granite project in one ZIP file one ZIP file . Unzip it, change root folder name according to your project name, modify project.properties file so it reflect your project name, MXML application name, your EAR name etc. The folder structure of your project should look like following From project.properties you will know what kind of stuff you need to run it all, like Flex SDK, JBoss 4.2, and Ant 1.7. Important trick: before running Ant build file, copy lib/ant jar files to ANT_HOME/lib. It should help you to avoid one particular classpath issue. As you should have guessed everything is controlled by Ant build file. You can compile application, build it into EAR package, deploy to JBoss, generates AS3 files, undeploy and clean up everything. Using ant files makes it possible to compile your application on the server side and wherever FlexBuilder is not available. Here is check list before we can go further. 1. You extracted the archive to somewhere named MyProj or something like that. All files mentioned are from this archive. 2. JBoss Installed, the path to JBoss is written in project.properties 3. FlexSDK 3 installed, the path to Flex SDK is written in project.properties 4. JARs from lib/ant copied to ANT_HOME /lib (ANT_HOME is where installed Apache Ant) 5. Your Ant should be able to start from any place, in other words you have ANT_HOME/bin on your PATH variable. Now, you are ready to run your application. It doesn’t use Granite yet, but we have to be sure that everything is fine up to now. In console type following: ant deploy You should see a lot of messages and “BUILD SUCCESSFUL” in the end. Good. Now run JBoss (JBOSS_HOME/bin/run.bat). Check http://localhost:8080/MyProj/ (I assume that I didn’t change project name in build.properties and JBoss Web Server is running on default 8080 port), and see “Hello World!” Flex application. Part 2 (Optional/Advanced. For Flex Builder users who want ActionScript3 and Java in one tool) One important thing to know about Flex Builder and GraniteDS is that Adobe doesn’t know anything about GraniteDS (or at least it pretends) and GraniteDS creator doesn’t use Flex Builder. First we create a Java Project, then we will add Flex Project nature to it, you could create Flex Project first but then you’d need to modify project settings manually. 1. Go to Help->Software updates 2. Select Search for new features to install 3. Select Europa Discovery Site 4. Find Java Development Tools, download and install them. 5. In menu, New->Java Project, name it like MyProj 6. Select Create project from existing source (point to the location where you extracted the archive) 7. You probably will need to configure Java SDK here 8. Add java_src to build path on the next screen of wizard 9. Now, we got the Java project opened. All JARs are included automatically, it’s nice. 10. Now add Flex Project nature to our Java Project by right clicking on Project Node and selecting Add Flex Project Nature 11. Select “None” for Application server type 12. Wizard doesn’t allow us to select source folder, so when it finishes, go to Project properties and change in Flex Build Path section Main source folder to flex_src. Now, it should be over. Optionally, you could import Ant build file and run tasks right from Flex Builder. Part 3 (Creating very basic EJB3 service) Before starting with entity beans, let’s create a very basic stateless bean that will do something like this: public String sayHello(String yourName) { return “Hello, ” + yourName; } To be continue… Comments(3) May 30, 2007 Here is my very general itinerary for South America May 30th 2007 Posted to travel There no such countries like Brazil but mainly because I wanted to go deeper into this country next time and also I don’t speak Portugal (my Spanish isn’t much better but anyway I spend two years studying it) The final destination will be Easter Island (and probably Pitcairn island – but I’m not sure yet) Comments(1) Search this site: Pages About… Archives March 2008 February 2008 January 2008 December 2007 November 2007 October 2007 May 2007 Categories actionscript (1) Flex (6) Java (1) spreadsheet (3) travel (1) Uncategorized (1) Meta RSS Login Valid XHTML XFN WordPress Using the fTiny theme design by Fredrik Fahlstad Proudly powered by WordPress .