GithubHelp home page GithubHelp logo

Make it work with fb embedded... about fb HOT 7 CLOSED

rowland avatar rowland commented on July 24, 2024
Make it work with fb embedded...

from fb.

Comments (7)

rowland avatar rowland commented on July 24, 2024

Ideally, you would be able to switch at runtime, but making that happen would be non-trivial since the way Ruby native extensions work the shared library is selected at compile time.

It may be possible to build two separate gems by replacing "fbclient" with "fbembed" in extconf.rb, but I haven't tried this.

from fb.

ramsees avatar ramsees commented on July 24, 2024

That would be great, specially since hosting solution often doesn't offer Firebird installed.

from fb.

rowland avatar rowland commented on July 24, 2024

One would have to limit a hosted application to a single instance with embedded Firebird, since the process takes exclusive control of the database.

from fb.

ramsees avatar ramsees commented on July 24, 2024

I'm aware of that, but is the only option I hace due to the poor Firebird support from the hosting options, this is something I've done with ASP.net, now, I think the multi-instace access is contemplated for the next Fb release.

from fb.

ramsees avatar ramsees commented on July 24, 2024

Other usage is to have a local database in your application as cache, since firebird allow to easily change from a server database to an embedded one I often use an ambedded fb for local caches in my applications, the application still connects to the server database, but also has a local cache in the client to work disconnected.

from fb.

nurettin avatar nurettin commented on July 24, 2024

This would make a great sqlite alternative

from fb.

mariuz avatar mariuz commented on July 24, 2024

It might be possible to do late binding like we do in ibpp
In the followng thread "libfbembed and Debian/Ubuntu Builds" there is a patch for inspiration

http://permalink.gmane.org/gmane.comp.db.firebird.devel/4743

and the disscussion on ibpp list
http://sourceforge.net/p/ibpp/mailman/message/32147078/

from fb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.