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

  • Home
  • SEARCH
  • 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 6056295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:21:37+00:00 2026-05-23T08:21:37+00:00

If you had a library / framework / class implementing something like Rake’s dependency

  • 0

If you had a library / framework / class implementing something like Rake’s dependency management it seems like it would be useful for general purpose programming, ie by breaking code up into tasks and dependencies.

eg, Imagine an app for managing a users photo library on flickr. The app might be broken down into Rake-like tasks with interdependencies. Logging in might be one task, syncing the users photos might be another task that depended on the logging in task, deleting a photo might be a task that depended on the user’s data being upto date.

This seems like a simple/(fundamental) concept that may already exist as a Design Pattern or even as a library (ideally in c or objective-c), unless it is a really bad idea.. (please comment)?

Would this be reinventing the wheel to implement Rake in Objective-c (or your language of choice) for use internally in a desktop app, instead of as a build utility?

  • 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-23T08:21:38+00:00Added an answer on May 23, 2026 at 8:21 am

    If what you’re talking about is the actual dependency management, I wouldn’t call it a design pattern.

    Read about how to do a topological sort of a directed acyclic graph, dependency management boils down to that.

    I think it’s highly possible that such a library exists.

    Edit

    I just found this library, it might prove useful. Actually it’s a fairly large library, but it contains a class that does (or claims it can do) the topological sorting.

    I should add that I’m pretty sure there isn’t a design pattern that deals with this. Figuring out in which order a given sequence of interdependent tasks should be completed is just a graph theory problem. The wikipedia articles I linked contain pretty much everything you need to know.

    Shouldn’t that class work, I figure it wouldn’t be difficult to implement it from scratch, or by translating from another language (Python for instance: I seem to recall that Twisted provides you with such a capability).

    Even more edit

    I don’t think implementing dependency management in your app would be just another case of wheel reinvention. If you need it, code it. That is, unless you can find a generic, working library with a compatible license that suits your need. In that case, by all means use it. It really is that simple.

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

Sidebar

Related Questions

Zend framework is well known for loosely coupled components. I would like to use
So, I created my entity model in a separate class library. I had to
I have had a bug recently that only manifested itself when the library was
I was curious if anyone had any suggestions on a Java library that provides
I was using mysql++ library and compiling with GCC 3.3.4. That GCC version had
While developing a C++ application, I had to use a third-party library which produced
I'm just wondering if anyone else has had problems moving the Zend Framework from
I have a console app, and a class library. I'm making changes to the
I had install zend framework on ubuntu and it was install properly. but now
As my hunt for a cross-platform framework/library went in progress, GLFW was mentioned many

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.