Basically i want it to import data from a SQL database and Display it as graphs. Having said that i also want it to be dynamic,responsive as in the users should have filtering options. Any leads would be definitely helpful.
Please note that i am just a beginner with drupal.
Yes, But I recommend you to work on your own framework. Or even you can use some data visualization framework
Maybe this one is useful for you if you want to do it on your own:
http://www.sitepoint.com/twelve-javascript-libraries-data-visualization/
Why do you need Drupal for that?
I would make some PHP script which would read SQL and generate image out of that data, by using GD or ImageMagic lib. I guess you know that PHP can shoot out image file header and dynamically generate image, on fly. That PHP script could also read filter parameters to have influence on generated image.
Related
We have a couple of relatively simple websites running on Adobe CQ 5.5 that were developed by a third party. I'm pretty familiar with how CQ works, but I'm working with somebody else's code here and I need to be able to search through all components in the system for a particular string.
The issue is that I can't seem to find a way to search across all of the various .jsp files stored with the various system components. I would have figured that the query tool in CRXDE Lite would have done the trick with something like this:
/jcr:root//*[jcr:contains(., 'Find this exact string in a JSP')] order by #jcr:score
But I've had no luck.
What I am looking for is some sort of global search that includes JSP files. Is that possible? Were I using a regular Java system, any IDE worth the download would be able to do this.
Thanks.
Might not be easiest way, but you can use the VLT tool to checkout the repository into your filesystem. Then you can lookup using whatever tool you prefer. It might even be faster in the long run
I don't have the actual answer but I suppose the JSPs are indexed via a filter that strips out some of their content.
It should be possible to configure the repository to index them as is instead, based on the info at http://wiki.apache.org/jackrabbit/IndexingConfiguration and http://jackrabbit.apache.org/jackrabbit-text-extractors.html
Sorry about the vagueness of this answer - I know the basic principles but to provide the details I would need more time than I can afford now ;-)
I am using fusion tables to generate pins over the map. now I want to insert more coordinates data into the table using php but couldn't get any exact idea how to do it?
Can anyone help me for that?
Thanks in advance
I would like to respectfully suggest that answers that simply refer posters to the Fusion Table PHP Library may not be helpful to many and can be outright discouraging to some. The PHP Library is a tremendously impressive, interconnected set of scripts. It is also massive, mostly uncommented, and requiring many nested 'includes' and 'requires.' The whole thing must be over 2000 lines long and it is hard to even decipher which parts you need.
For the poster the starting point needs to be the Developer's Guide and the OAuth2 Guide. These are at:
https://developers.google.com/fusiontables/docs/articles/oauthfusiontables
https://developers.google.com/fusiontables/docs/developers_guide
See the Fusion Table PHP Library
I need to merge various PDF and Excel documents in one PDF. For example I have:
- A.pdf
- B.pdf
- D.xlsx
- E.doc
Whats I need is to merge all 4 documents content to a one result.pdf document.
There is any bundle/library to achieve that? or maybe the best option is to create a python script and call it from symfony2 (how?) to generate that pdf?
Any help or clue?
Thanks in advance
Symfony provides a Process component that wraps nicely wraps around the native php exec/system functions.
Check it out on: https://github.com/symfony/Process
Another option would be to use the PDF Component from Zend Framework. I'm not sure if it allows merging of PDF's but it should only be a matter of reading through the documentation to find out.
Check out this tutorial about ZendPDF in symfony: http://www.craftitonline.com/2011/06/pdf-generation-with-symfony2-part-ii-zend-option/
Hope that helps.
The #DucTa's dead link was talking about pdftk, a binary with which you can merge multiple PDF documents.
Download it on your server using apt-get install pdftk.
For now, I think it doesn't exist any bundle using pdftk, but you can use something like exec() or passthru() to do the trick.
Example :
exec('pdftk doc1.pdf doc2.pdf doc3.pdf output merged.pdf');
I found this tool but I wonder if it still the right way nowdays with net 4.0 or is there any straight forward oob alternatives.
I just need to add columns and update excel stuff programatically. There are many ways but I need to keep the original document as a template. The link above explains exactly what the requeriments are and why they created such "ExcelPackage" library.
A quick look at the link you provided seems like it will in fact keep the original template intact and just return a populated version of that template. This is a pretty common way to create and populate Excel documents using Open XML since it helps to minimize the amount of code you have to write. If you did not specify the layout, styles, formats, etc in a template you would be forced to define those when coding and that could lead to some bloated code. Overall, a project like this or using the Open XML SDK 2.0 to create the documents is the way to go.
I'm writing an install file for a custom module, that needs to create some new nodequeues. But a drupal and google search are so far turning up empty. Anyone know how to do this?
Drupal 6
The closet thing you come to a API function to save nodes is nodequeue_save, but all you really need to do, is to insert some data to the {nodequeue_queue} table. You can do it yourself with SQL or use the function, but the result will be the same.
You should remember to add the nodequeue module as a dependency in your module's info file and check if it's installed before running your stuff in hook_install.
Some API documentation might help you on the road? http://api.lullabot.com/file/contrib/nodequeue/nodequeue.module