Comments (7)
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.
That would be great, specially since hosting solution often doesn't offer Firebird installed.
from fb.
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.
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.
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.
This would make a great sqlite alternative
from fb.
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)
- Fb::Error: A transaction has been already started: begin transaction HOT 1
- The new BOOLEAN datatype doesn't work in fb... HOT 7
- Why any select in WRITE transactions? HOT 8
- dyld: lazy symbol binding failed HOT 10
- Make it work with Firebird 3... HOT 6
- I can't install fb on Fedora 28 HOT 3
- What does generally cause the "Dropped db cursor" error? HOT 1
- Problems connecting to firebird 3 HOT 8
- Insert with return clause broken in 0.9.0 HOT 3
- Error when installing on Windows 10
- Annoying warning with ruby 2.6.3 HOT 1
- Ruby 2.0.0(x64) Segmentation fault HOT 5
- How to create a rails Model HOT 1
- Statement loses parameters HOT 8
- Cannot build on Mac os x Catalina HOT 2
- Add support for returning values... HOT 3
- Can't install fb gem in ruby windows 64bits... HOT 3
- Cannot be installed in Ruby 3.2... HOT 3
- fb.c:41:10: fatal error: ibase.h: No such file or directory HOT 3
- Error on Ruby 3.2.2: "error: โrb_cDataโ undeclared" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fb.