Where to get sample Code for titanium code? - titanium

I am just a beginner in Titanium and searching for few sample source code to learn from and run. Downloading and working with kitchen sink or with the API is a big pain, to understand as well as to work with.
Although everything is there in both and they have given sample but that seems like not an implementation. I just want to have some source code to learn how, when and where to use the elements? How things work, how are they integrated etc.

Usually at the Q&A section there are samples of code. Just search what you are looking for: http://developer.appcelerator.com/questions/newest
The Wiki provides examples: http://wiki.appcelerator.org/display/guides/Home
Even this website provides code samples, check out the Titanium Tag: https://stackoverflow.com/questions/tagged/titanium
And last, but not least, there seem to be more and more code samples in the API Docs: http://developer.appcelerator.com/apidoc/mobile/latest
Good luck!

As an option, you can find good application samples on CodeCanyon. They're not free but you can learn a lot by examining how to start from scratch to build an application like;
Simple Foursquare like apps
Photo gallery apps
TODO apps etc.
http://codecanyon.net/category/mobile/titanium

I found this Forging Titanium series on Vimeo.com to be one of the best. Just watch out this complete series. Beside providing you with basics and advanced limelight on elements and functionality, also provide link to many github public repository we can follow and get numerous sample codes.

Related

Is there any great Sitefinity web development training materials?

I want to learn sitefinity web development, is there any great tutorial, document or sample video? Anyone can share with me some links. I am totally a beginner.
For a total beginner maybe this Pluralsight course would be a good start:
https://www.pluralsight.com/courses/sitefinity-development-introduction
You can subscribe for a free trial and watch it.
There is plenty of documentation on https://docs.sitefinity.com/
Then, just start playing with it, that's usually the best way to learn.

I don't understand the Dojo documentation

I'm a beginner in dojo. First of all is everything javascript based? For example to create a form I have to use JavaScript or HTML tags?
Also I cannot understand their documentation and tutorials. It's very confusing.
Is there a proper website (other then dojo itself) that has good tutorials?
You can use Dojo's components's (widgets) in two ways. Programmatic and declaritive. The programmatic way (what you are talking about) is by defining widgets through the use of javascript. With declaritive you can define them using HTML markup. David Walsh has a nice short writeup and if you search for "declaritive programmatic dojo" you'll find some questions and answers on the matter:
https://davidwalsh.name/dojo-widget
Difference between programmatically vs declaratively created widgets in dojo?
Declarative coding or programmatic coding in Dojo Projects?
Declarative or programatic approach in DOJO?
If you're having trouble with the tutorials on the Dojo website, i suspect you're better off, first diving into some basic beginner javascript tutorials before trying to learn a framework like Dojo. I concur with the comment Ferry made on your question, there are no better resources than the actual Dojo website. I recommend following every tutorial, starting with the Hello Dojo tutorial and working your way up so that you don't miss out on the basic concepts which you'll need when you read the harder tutorials. Good luck!
For your first question: dojo is javascript-based platform that provide you with a basic javascript library and a bunch of basic widgets (UI controls like button, dialogue, layouts,...), and some extra things. However, you don't really have to use dojo all the time: you still can use dojo to manipulate a html form button; it's just dojo button comes with extra functionalities and might save you some time.
For the second question, I agree with iH8 that dojo website is the best place to start. There are three different ways dojo websites can help you:
Look at the tutorial: Basic steps on how to set it up and use provided functionalities as-is
Look at thetoolkit api: This provides a very detailed view of dojo javascript object (See what extra things you can do with dojo objects)
Look at the nightlytest: I found this very helpful in term of showing me what can be done outside of the tutorial (i.e. how to use things you found in the api)
Other than these, you can look at existing implementation to learn about the toolkit.
Basically, this is how I am learning Dojo. Without more-specific questions, it's hard to tell what is confusing about the tutorial. I would recommend you give it a try and post a question: everyone here will be willing to help you.
I recommend starting with some video tutorial like this.
When you understand the concept, you can try to copy and paste some code from Dojo documentation tutorials or Reference Guide, because all books are out-of-date.
Also you may find some useful information on IBM-related sites like http://www.ibm.com/developerworks because IBM invested in Dojo and uses it for its products.
If you have enough resources ($) you can take participation in Workshops (sitepen.com/workshops)

Evernote API in Unity3D

Since I haven't got any response on the Unity3d or Evernote forums, I'll try it here.
The last year I have worked a lot with Unity3D, mostly because the good integration with the Vuforia Augmented Reality library and the fact that publishing for multiple platforms is a piece of cake.
Now I want to show notes in an AR setting and am looking at the Evernote API for this. I couldn't find anything about using this with Unity, I can see why this is not the most common combination.
My question is: do you think I can access the Evernote API through Unity? If so, how should I do this? Or is it for this purpose perhaps wiser to make (parts of) the application with Eclipse/xCode?
Hope to hear from you!
Link to Evernote API: http://dev.evernote.com/doc/
The Evernote API has a C# SDK which you should be able to call through Unity. In terms of how to do it, you will probably need to download the SDK and follow the instructions yourself. Their github seems like a good starting point.
One thing to note is that Unity's .Net library for mobile clients are quite limited and with webplayer you will need to deal with sandbox security issues. But start with the standalone build first and see how you go

Where are the docs for the Chromium Embedded Framework?

I downloaded and started playing with CEF, but there doesn't seem to be any docs for it. Not even a working wiki… Am I missing something?
Most of the documentation is in CEF's header files. The binary distribution comes with docs generated from those files. It's well documented in terms of amount of content written, but I had a lot of trouble while learning to use it. The project's Wiki page contains a lot of useful content as does the cefclient sample program.
The CEF3 API documentation can be found at http://magpcss.org/ceforum/apidocs3/
and CEF1 API docuemntation can be found at http://magpcss.org/ceforum/apidocs/. These two links can be found on the Chromium Embedded framework (CEF) wiki home page: https://bitbucket.org/chromiumembedded/cef/wiki/Home
You didn't provide a link to CEF, so I Googled it, and found the project's Web site, which features a prominent link to their wiki.
The wiki has several pages, but the first one that jumped out at me is the General Usage page that shows how to create a "fully functional embedded browser window using CEF".
So I'm not sure where you were looking, but yes, it looks like you were missing something (grin). The wiki documentation is right there.

How do I find working examples of Cocoa/Carbon API?

I find it hard to find some working examples of Cocoa/Carbon framework functions, whereas there are well documented function prototypes from Apple.
For example, LSOpenItemsWithRole function has well defined prototype, but I guess some examples would be a great help for a mac programming beginners like me.
How can I find some working examples for Cocoa/Carbon API? Doesn't Apple provide that? MSDN has good working examples, I expect similar thing from Apple.
You can find some sample code on Apple's developer site, and some of it can also be found within the Xcode documentation viewer. In fact in some cases, but probably not enough, you'll see links to sample code right at the bottom of the API documentation.