Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 40 other subscribers
  • Archives

  • Categories

  • Stats

    • 426,577
  • Live Traffic

Archive for the ‘Flex’ Category

Tips&Tricks: Flex-Cairngorm-Blazeds-Spring-JPA-Hibernate

Posted by Jai on October 10, 2012


This post includes some of the lessons learned during recent integration and usage of these framework. This is just to help out in case you too fall into these small small problems which may eat of lot of your time.

Cairngorm maven pom dependency entry

<dependency>

<groupId>com.adobe.cairngorm</groupId>

<artifactId>cairngorm-bin</artifactId>

<version>2.2.1</version>

<type>swc</type>

</dependency>

The prefix “mx” for element “mx:Script” is not bound

Read the rest of this entry »

Posted in Cairngorm, Flex, General, Spring | Tagged: , , , , , | Leave a Comment »

ActionScript/Flex/AIR Code Quality Measurement Tools

Posted by Jai on December 7, 2009


From a java developer perspective, you would love to have the similar code quality measurement tools for ActionScript/Flex/Air also but there is hardly any single comparable tool available for this. After a long search and analysis, this is what I have found and here we will have a look at what all these tools and different utilities offer.

In this post we will analyze what different code quality metrics on a general basis we would require for ActionScript/Flex/AIR and what are the different available tools to get such metrics.

Code Quality Metrics

We would like to have the metrics to display different information like:

  • Coding Styles: The metrics which tell us the different coding style violations inside the code.
  • Coding Standards: The metrics which tell us the different coding standards violations inside the code.
  • Project level: Total number of packages, interface, classes etc. , the dependencies between different packages and classes and their linking.
  • Class level: Total number of lines of code, number of functions, cyclomatic complexity, dependencies on other classes etc.
  • Function level: Total number of lines of code, cyclomatic complexity etc. and coverage tools stating if all the lines of code are fully tested on not.

(This is just on broader level, not covering all the metrics and information which similarly we have for java).

List of Available Tools

The available tools for AcrionScript/Flex/Air code quality measurement are: Read the rest of this entry »

Posted in Flex, Quality | Tagged: , , , , , , , | 7 Comments »

Presentation: Enterprise Flex using Cairngorm

Posted by Jai on November 2, 2009


This post share the presentation “Enterprise Flex using Cairngorm” based on the different posts on flex shared here.

Posts: Flex Category

Presentation: Enterprise Flex using Cairngorm

Feel free to share feedback!!!

Posted in Cairngorm, Flex, Presentation | Tagged: , , , , | Leave a Comment »

Flex: Enterprise security implementation using Chimp, permission based filtering component

Posted by Jai on August 28, 2009


This post covers how you can implement enterprise security solution for flex applications. You can implement flex side security using Chimp which is permission based filtering of flex components using metadata and Spring Security on the server side and integrating the two.

This is part of the series of posts:

Flex then, now & tomorrow – From a java developer’s perspective
Flex: Cairngorm (MVC), SpringActionscript (IOC) and other Cairngorm Extensions
Flex: SpringActionscript (IOC) & SpringActionscript Cairngorm Extension Sample Code Examples
Flex: Cairngorm View Notifications Strategies, Responders from Command to View
Flex: Choosing the right flex data transfer strategy and designing the application accordingly
Flex Tips&Tricks

to cover different strategies in flex development using Cairngorm framework to solve different practical problems.

Consider an enterprise application where you need to have security on both flex side and server side. You want access control on flex side and depending on user roles you would like to create, remove, hide, enable particular view components in the application. Similarly, have access control on the server side that user having specific roles only would be able to use some service, package or call some particular methods.

There is very nice article by Ryan on Enterprise security for Flex which covers the spring security integration and flex side security implementation using chimp.

Read the rest of this entry »

Posted in Cairngorm, Flex, Security, Spring | Tagged: , , , , | 3 Comments »

Flex: Choosing the right flex data transfer strategy and designing the application accordingly

Posted by Jai on August 27, 2009


This post covers the different strategies you can use for data transfer for the flex applications and designing the application accordingly. We will have a look at the different influencing factors while deciding the data transfer strategy which can be Data Transfer Objects, some client based facade on the server side  or may be some adapter like dphibernate based on application specific requirements.

This is part of the series of posts:

Flex then, now & tomorrow – From a java developer’s perspective
Flex: Cairngorm (MVC), SpringActionscript (IOC) and other Cairngorm Extensions
Flex: SpringActionscript (IOC) & SpringActionscript Cairngorm Extension Sample Code Examples
Flex: Cairngorm View Notifications Strategies, Responders from Command to View
Flex Tips&Tricks

to cover different strategies in flex development using Cairngorm framework to solve different practical problems.

Influencing Factors for Data Transfer Strategy

Before deciding on any strategy that how would you architect your application, give it at least some consideration that what your application is trying to do. Try to figure out the influencing factors which will affect the behavior and response of your application.

Few of the influencing factors before considering the data transfer strategy are like:

Read the rest of this entry »

Posted in Cairngorm, Flex | Tagged: , , , | Leave a Comment »