Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7636371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:39:38+00:00 2026-05-31T07:39:38+00:00

I am trying to use parsley framework in my flex application. Messaging System is

  • 0

I am trying to use parsley framework in my flex application. Messaging System is one of the best feature that I see while using parsley,

But I had a doubt,

Does using Parsley framework in your application means that,

  1. Replace every addEventListener() functionaltiy with the Messaging System of Parsley ?
  2. Cannot create any objects using new newObject();. Should use dependency Injection, instead of creating explicit objects ?

Are the above doubts true ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:39:40+00:00Added an answer on May 31, 2026 at 7:39 am

    No. Using Parsley does not mean you must/should replace all your event listeners with Parsley’s messaging.

    The whole idea of Parsley is to decouple, in other words, it’s about making parts of your app not tied to other parts of your app.

    You CAN decouple using Flex Messaging, because Flex events can transvers.
    But:
    1) Flex events transvers through the display list which is not always what you want
    2) Flex events depend on String, which can be a pain if you refactor, or make typos

    So the answer to both your questions is:
    Only use Parsley events and Parsley objects if you want Parsley to manage those objects. Which will not be the case always.

    Decoupling can be good, but it can be a chore. Unlike the previous answer. Decoupling is GREAT for unit testing. It actually makes it easier, because in theory, everything is a unit by itself not tied to other Units. Just because Parsley can inject them for you, it doesn’t mean it HAS to do it for unit testing.

    Actually, Flex is built around Injection. There is a difference between automatic injection and injection. When you assign a dataProvider to a List, you are Injecting, it’s just that your are doing it manually. Parsley simply offers a way to manage Injection automatically for you.

    However, yes, sometimes you might be wondering why something didn’t get injected, but it is not that difficult to figure out why.

    I wrote a series of posts to help people get going with Parsley, check it out
    http://artinflex.blogspot.com/2010/09/quick-dive-into-parsley-intro-why.html
    it might be useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying use MySql and Entity Framework, using Connector/Net 6.1 with this as
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
I'm trying use Lift and CalendarMonthView widget to build a appointment system. CalendarMonthView works
I am trying use a javascript function while passing php variables in it. For
I am trying use a javascript function while passing php variables in it. For
Anyone know how to create a cvCreateStructuringElementEx using a image? I'm trying use opencv.cv.cvCreateStructuringElementEx()
I'm trying use make a div's background transparent using a mixture of CSS3 rgba()
I'm trying use eco for client-side templating. I have multiple .eco templates that I'd
I am trying use the new server side plug-in feature for TFS 2010. (I
I have a regex that I'm trying use to validate against strings. Trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.