Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
My humble greetings, fellow monks.

Is there a Model-View-ViewModel or Model-View-Presenter framework for Perl? I noticed that there are some Model-View-Controller (MVC) frameworks for web-based applications and was curious if there are any existing MVVM or MVP frameworks for desktop GUIs in Perl.

The backstory: Having never actually done any GUI programming before, I have been working on a pet project that involves using a database and writing a frontend to access it. I went out and read Database Designs for Mere Mortals and have (I hope) a decent database design that I've built using SQLite.

I've also created a nice mockup of the user interface via Balsamiq's Mockups. Asking around on StackOverflow for some general programming guidance brought me to consider using MVP or MVVM as a pattern for how to build my app. However, googling for "perl mvp" or "perl mvvm" doesn't seem to yield positive results; unlike "perl mvc" which shows Catalyst and Jifty, but I'm not looking to create a web-based application.

Thus, I humbly ask the Monastery for your guidance before I recreate the wheel. I realize that would benefit me in the long run, but I wish to defer that learning experience until another day.

In reply to Is there a Perl MVVM or MVP framework? by romandas

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2023-10-02 12:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found