How to use Eclipse Birt 4.3 with mongoDB data source - mongodb

How do you use Eclipse Birt 4.3 with mongoDB data source?
How do you use UI provided in latest version?
How do you write mongoDB query?

Try this http://code.google.com/a/eclipselabs.org/p/mongodb-oda-birt-plugin/ or
Try this http://www.birt-exchange.org/devshare/_/designing-birt-reports/1414-mongodb-oda-for-birt
The user guide available in the Downloads section and it will be very helpful from developing reports in BIRT

How do you use Eclipse Birt 4.3 with mongoDB data source?
When creating a Data Source choose MonogDb data source.
How do you write mongoDB query?
As to writing query http://developer.actuate.com/be/documentation/ihub2-web/birtos/fg31/index.html#page/birt-os/connecting.1.48.html explains it.
Also checkout http://developer.actuate.com/community/forum/index.php?/blog/10-birt-evangelist-blog/
I agree with you that documentation is lacking and no examples are given. I find it inconvenient that only one collection can be selected.

Related

Can I use ag-grid's old tree data without the enterprise version?

I'd like to use ag-grid community in plain JS project, which could be commercial soon. I don't know much about license policies.
From documentation I could suggest that community library is stored here?
src="https://unpkg.com/ag-grid/dist/ag-grid.min.noStyle.js
Further, I'm intersted in Tree Data (Legacy) feature, which is free. But it's source library looks like:
src="https://unpkg.com/ag-grid-enterprise#18.1.1/dist/ag-grid-enterprise.min.js
Am I breaking the license rules using this feature? How should I use it correctly? What if I use enterprise lib in non-commercial project, would it work?
You can indeed use the old tree data implementation without the enterprise version, there's a quote I didn't notice before which sums it up:
https://www.ag-grid.com/javascript-grid-tree-data/
How Tree Data is managed in ag-Grid was changed in ag-Grid v14. This
page presents the new way of working with Tree Data. The old way was
part of ag-Grid free, the new way is part of ag-Grid Enterprise. The
old way is deprecated but you can still use it, but we will not be
enhancing it. For documentation on the older version of the grid prior
to v14 see Tree Data (Legacy).
In their demo of old tree data, the JavaScript file used should really be the "community" version instead of the enterprise one. They just use the enterprise version in all demos to make it easier.

How can I view the contents of the Minimongo database in the client with Meteor?

I know I can query CollectionName.find().fetch() in the browser's JS console. Are there other tools that are the equivalent of a GUI admin tool for all the browser's local minimongo storage ?
You can either use a server-side privileged admin solutions like Houston or any other MongoDB admin interface.
If you want to query data on the client for a quick inspection, you can use console.table:
console.table(Tasks.find().fetch())
Mongol does this, FTW, thanks to Max Savin.
Also I noticed no one has mentioned it but there is also for chrome a 'Meteor DevTools' extension that you can add to chrome tools. Once your meteor project is running you can see in chrome tool a tab called 'Meteor' that will show you what MiniMongo has.
There is a open source MongoDB management tool called Robomongo — which is very efficient and useful.
There is an awesome atmosphere package meteor toys that shows the subscribed data on minimongo. It also allows to add, edit or delete data on the go. very handy.
Also, meteor toys may not work with latest meteor update (1.6.1+). So, I found a light package that does the same called constellation.
You can choose from anyone. It will surely help debugging on minimongo easier.
You can use the Chrome plugin Meteor MiniMongo Explorer, it's very useful and show you every collections/documents you have currently on your MiniMongo
Pro compared to Mongol
You don't need to add any package to your meteor project to works
Open the console and do it:
Meteor.connection._mongo_livedata_collections[collectionName].find().fetch()
My current Meteor's version is 1.8.1. I don't know it is possible to do the same on the older ones.

How to enable coffeescript support in couchdb?

I am building couchdb from source using:
https://github.com/iriscouch/build-couchdb/
How do I enable coffeescript as a query language? This option appears on iriscouch's cloud server.
CouchDB 1.2.0 have build-in coffeescript query server.
Feature discussion
Looks like building the latest version from source includes this.
A more specific answer if you are running CouchDB 1.2.0 or higher:
On your design document add a property called "language" and set the value to "coffeescript". This seems to make all views expect coffeescript. It doesn't seem possible to have some views be done in javascript and some in coffeescript.

Can I view a resultset in Eclipse debugger as a table

I have a resultset in Eclipse created from an SQL query.
Coming from the world of Visual Studio, I expected to find a watch view of my variable that shows me the resultset as a table instead of just showing all the fields and properties.
Does such a solution exist for Eclipse, maybe as a plugin?
Great question!
Sadly, any plugin would have to be created based on the existing debugger. The following article talks about how to create a debugger for a new language in eclipse: http://www.eclipse.org/articles/Article-Debugger/how-to.html
The article gives great details on how the debugging process works in eclipse. I believe this would be a great feature to have in Eclipse and suggest you submit a new feature request: http://www.eclipse.org/stem/feature_request.php
As a work around, I would suggest using a string variable that would contain your query, add that string to your watch list, so you can access it while debugging. Copy the contents of the string and paste it into a tool like SQL Query Analyzer.
I don't know if there is a plugin that will format a ResultSet in the debugger, I've never seen such a thing. However, the Data Tools Platform (DTP) provides tools for interacting with databases, including table views of query results, etc. If you have the Eclipse IDE for Java EE Developers package, DTP is included in that already; otherwise, you can install it.
Here is a good tutorial on using the tools.

How can I do "Version control" of a entire site in Liferay?

I am a member of a team who try to build several sites using Liferay. We have difficulty sharing updates between us using LAR files and we have the same problem building the test and QA version of the site. We like to use something like traditional version control where each one download a version of the site, do some changes and update the repository. Is there a way to do something like this? We suspect that we are using the LARs in the wrong way or maybe it is not meant to be used like this. Any solution? Thanks in advance.
Back up your database, check that in to your version control, The restore the database.
All the information required for a Liferay site is in the database (and the custom plugins if you're using them).
So I'd use backing up and restoring the database as your solution.