As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there any information on how to create your own datasources for xpages? I'm busy developing a java API for a system of ours and I would like to be able to use the data as a datasource within xpages.
There was a Lotusphere 2011 session SHOW107 that walked you through the steps. Read about it on Jim's blog, the BleedYellow community, an excellent slideck from Paul (and related) as well as SHOW107 itself.
One caveat: The data sources don't show their fields in the Domino Designer. If you want that functionality then, instead of looking at com.ibm.xsp.extlib.model.ObjectDataSource you would subclass the DominoDocument and more or less overwrite all functions.
You could look in the source code of the extension library. There you will find the class com.ibm.xsp.extlib.model.ObjectDataSource as an easy example.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I need to have some sort of a reporting tool that can generate PDF reports (data coming from a database) that will be used in my jsf application.
The one that i have heard is Jasper Reports.
I am wondering if it possible to use raw JDBC to work with Jasper? If so, could someone direct me to some tutorials? All the ones i fine are based on JPA.
Also are there any other good reporting tools that can be integrated with JSF?
Thanks
1 - You can use JasperReport in JSF, is very good. I suggest as a tool iReport report designer. You must include the iText library in your project.
2 - The report have two ways of filling, from the database values or injecting it in memory.
3 - You can also generate reports through a Primefaces data exporter, so you can build the document at runtime.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Just a quick question, I'm getting the idea that you don't. Why is this, and is there a way to? And why would you?
I never code within the browser. The only reason to code in the EE CP would be if you're editing a snippet or global variable, and even then there are addons that will move those to flat files.
Take a look at this user guide on how to save templates as flat files: http://expressionengine.com/user_guide/templates/templates_as_files.html Saving templates as files will also allow you to better version your template code with your VCS of choice.
When moving to a production environment you may want to consider syncing your template files to the database - as that may speed things up a tiny bit.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I was wondering if users that are using Kohana primarily to explain how they go from planing to deployment in Kohana. Why do you use Kohana instead of the other frameworks that you tried.
I have a base setup that I continually refine that includes all the basic stuff that I need for my projects. The cascading file system that Kohana uses makes this very simple. You can see something similar at http://github.com/synapsestudios/kohana-projecttemplate.
I converted from CI and stayed because everything felt simpler using PHP5 OOP concepts the way they should be. Plus the ORM helped me get models set up very quickly.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I have been looking and reading for an hour and i havent found a good tutorial for SubSonic. Do any of you have a recommendation?
I am looking for a quick command line or winform tutorial (not a asp.net tutorial) to take in a class and create the table, insert a few elements and query them again. I'll get to the advance things later (joins, etc. Or try to use linq?). I cant seem to find anything to tell me the namespace and object to do a query or insert. sure i see var repo=new SimpleRepository(SimpleRepositoryOptions.RunMigrations); but i am unsure what to do with it.
The type of app shouldn't matter really - have you tried the screencasts/writeups at http://subsonicproject.com/docs? I really tried to put together as much as I could for people to get rolling.
Google for repository pattern.
Basically - that's a class that abstracts persistence (simple CRUD functionality).
learnsubsonic site might help too.
When i checked out subsonic - introduction videos worked great for me. Try them.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Have to know this thing that it exist or not.
Comparison of web hosting control panels. You can sort according to the "open source" column on the chart.
There's Ravencore and GPLHost and probably many more, those were just the first two google results for the pretty straightforward search string 'open source hosting control panel'.
Kloxo is the best open source control panel