SubSonic Tutorial? [closed] - subsonic

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.

Related

Create own Datasources [closed]

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.

How do you prefer to split your multi-part program? [closed]

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.
Having a program that has several distinct parts is usual.By part I mean a graphical part that has its own windows and functionalities.(About non graphical part, I think creating a library is the preferable solution)
How do you prefer to separate them ?
Is it better to make each of them a static library and use them in the main program?
Or the better solution is to create an executable file of each one and load them in the main program?
Or even better solution?
I suggest that you read Code Complete or something simlar. This book and others go into the best practices or even how to know which of the best practices you should look into when you create a product.
The problem is one of scope. You need to know your specifications and the parts that join together, as well as which design practices you are going to use before you can answer this question.
I am also inclined to think that there is no right or wrong answer (depending on HOW wrong you are) and that no-one else can answer that question for you, especially since you are likely to be one of the main players in maintaining the code.
Hope that gives you some food for thought :-)

How do I become proficient with the terminal? [closed]

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.
As a programming novice, I often run into trouble when trying to install packages, use virtualenv, and basically do anything even mildly complex using the command line.
What are some good references out there to help me UNDERSTAND things like my path, environment, shell scripts, etc?
Basically, I'm tired of copying and pasting. I want to really understand what's going on.
Thanks!
I used Linux in a Nutshell by O'Reilly. It helps you get past the initial beginners stage. Obviously there are a ton more links and tutorials, lists of keystrokes online, easily found with a Google search, but this will help you get going, and nice to read when you are on the bus or at lunch or whatever, to give you some ideas you might not just happen on in normal everyday life.

What is an easy to use control flow library or module to use with mongoose and node [closed]

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 looking at async and step and I've been getting a lot of errors when making the database calls.
They both seem to work fine with the standard demo examples but as soon as I put in a mongoose db request it errors out, variables not defined, etc..
Does anyone have a working example I can look at? Also, I noticed that there is a promise.js in mongoose and mongodb has a dependency on step. Is that a clue to what I should use?
Looks like async works like a charm. It was a simple syntax error on my part, extra spaces in my coffee script that was causing the problems.

Kohana Development Cycle [closed]

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.

Resources