This is a migrated thread and some comments may be shown as answers.

[Mobile] - where to start? What are the function names?

14 Answers 159 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jelmer
Top achievements
Rank 1
Jelmer asked on 24 Jan 2012, 05:01 PM
Can this be moved to Mobile > General?

Hello all,

for our application (we are building one with 27 other students) and want to use kendoUI. But where to start? Since it is uploaded today and there is no proper documentation yet.

First try: a android <button> . But what do I do? $('button').kendoButton() ? Or what? I can't find it in the code since it's minimized and all the variables are minimized.

When will the docs be online?

Grtz

14 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 24 Jan 2012, 05:14 PM
Hi,

You can start by reviewing the Kendo UI Mobile online demos. Below each demo there is a short widget description (along with code samples), along with a list of the widget's methods, events and configuration. You can also use the "View Code" tab to review the source code of the current example. 

Regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jelmer
Top achievements
Rank 1
answered on 24 Jan 2012, 05:17 PM
Lol, that has been uploaded a few mins ago than. Because I was using the 'flash' demo earlier, but now when I clicked on demo I got to the new docs. It's kinda hard to develop with something that has just been uploaded.

Thanks anyway, although. I can't get it to work yet. But I'm sure I'll figure it out :)


Ps. will the dependencies be uploaded to the docs too?
0
Petyo
Telerik team
answered on 24 Jan 2012, 05:39 PM
Hello,

I am not sure what you mean by "dependencies". The only thing Kendo UI depends on is jQuery 1.7.1. Can you please clarify? 

Greetings,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Andrew
Top achievements
Rank 1
answered on 24 Jan 2012, 05:52 PM
I am also having a struggle with getting started with the mobile beta documentation. There seems little in the way of a "Getting Started" whereby one can see where the calls to functions are made and unfortunately, the code example I cut-and-paste did not run on Opera, when the standard kendo ui web grid had done so.

Is anyone writing a beginners book?
0
Jelmer
Top achievements
Rank 1
answered on 25 Jan 2012, 12:00 AM
This is what I mean by dependencies. http://www.kendoui.com/documentation/javascript-dependencies.aspx
For example: for the button, do I need jquery, core and button? Or also another .js file? Because for now it's not working.
I'm stuck with the whole documentation. It's just to simple, I think you (and by you I mean Telerik) should put more effort in the documentation and have in mind it's for developers who are new to this. Otherwise you don't need a documentation, obviously.
0
Petyo
Telerik team
answered on 25 Jan 2012, 09:48 AM
Jelmer, 

I recommend using the kendo.mobile.min.js file - it includes all the widgets + the mobile application. The blog post we published earlier today explains a lot of the concepts behind Kendo UI Mobile. If possible, can you please provide more concrete information about what is missing in terms of documentation? 

Andrew,

The Kendo UI Mobile suite targets only the webkit based browsers. Currently, Opera support is not in our immediate plans. 

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jelmer
Top achievements
Rank 1
answered on 25 Jan 2012, 10:43 AM
This blog is not complete.
http://www.kendoui.com/blogs/teamblog/posts/12-01-24/intro_to_the_kendo_ui_mobile_beta.aspx
- It does not say which .js files I need
- It does not say which .css files I need

It's not a big problem, but if you make a documentation/tutorial, finish it.

Also, with the dependencies, I'd like to know which specific .js files I need for certain widgets. What if I only want the button? I don't want the whole library to load. But what are the dependencies for the button to work? Only the kendo.core.js? or also the kendo.mobile.js ? I think it's kinda obvious I need that one, but if you see the link I showed in the last post, you see a lot of dependencies for a certain widget to work properly. How do I know which one I need?

I understand the beta released yesterday, and I understand the doc isn't complete. But it's just a tip for future updates.

tl;dr: make it understandable for a newbie to kendoUI


-edit:
And another problem. I have been trying to use kendoUI, but it's just not working. In your example: demo button you have a 'code' tab. But when I use the <body> of the example and use jquery.min.js, kendo.mobile.min.js and kendo.android.min.css. it's not working. Then I noticed you guys use kendo.common.css and kendo.default.css . Where do I find these files? it's not there..
When I add the class="km-button" though, it seems to work (not 100%, but...). But then I wonder, why do I need the $('#button').kendoMobileButton() ?
0
AndreasW
Top achievements
Rank 1
answered on 27 Jan 2012, 02:52 PM
Jelmer, 
it is a beta, and by my opinion the documentation provided is one of the better I have seen for a beta.

And from your questions I would recommend you to use some time to read up on web development and then you would probably get more out of the documentation provided. 

0
Andrew
Top achievements
Rank 1
answered on 27 Jan 2012, 03:08 PM
I absolutely agree with you, Andreas, starting with the basics of web development is the conclusion I reached subsequently. I have started to do that with a grounding in ASP-->MVC 4 using VS.

I had hoped to port in parallel from native app development, but there's too many new concepts and strictures to bake in first. Time spent now will be worth it, and hopefully I'll be in a position to appreciate the higher entry level required to make sense of the documentation.


0
Jelmer
Top achievements
Rank 1
answered on 27 Jan 2012, 08:49 PM
Andrew,

I know it is a beta and as I said before, "I know (...)", it was just a tip for the next update and I think it should be more accessible for new users to kendo.
Also: "I would recommend you to use some time to read up on web development" I know about web development."
I think you don't have to say that ;) I have 3 years experience with web development, but Kendo is just weird. It doesn't act as you think it would. It's contra-intuitive. Becase it says it will provide the lay-out. But when I add the .kendoMobileButton() for example to my 'button' it doesn't do anything. I have to add the class to get the layout. But that's not what the docs are saying.

The problem is just, when I copy paste what's in the docs, it's not what I think it will be. The layout is messed up. I tried adding classes and .. well.. what didn't I try? It's not what's in the docs.

If you provide docs, make them right. I don't say it's wrong, but it needs some work! That's what I'm saying ;)
0
AndreasW
Top achievements
Rank 1
answered on 28 Jan 2012, 12:06 PM
Hi,
after reviewing my post I can see that the language barrier made my replay a bit harsh. 
But anyways if you use some time studying jQuery which kendoUi are based on, javascript in general and the documentation for kendoUI web/framework you should be able to use and understand the Mobile documentation in no time.

For jquery I found http://jquery.com/  as a good resource. Javascript I used basically http://www.w3schools.com/ and the rest you can find here on the kendoUI page.  So good luck and happy coding!

0
Jelmer
Top achievements
Rank 1
answered on 28 Jan 2012, 04:16 PM
Andreas,

Like I said before. I have experience with web development. You don't have to sent me those most basic url's. I know them. I'm also a proud user of jqueryui for my websites and have written my own plugins. But Kendo is just weird.. it doesn't do what you think it should do.

But that is probably because of the bèta. It's not finished.
0
Georgi Tunev
Telerik team
answered on 30 Jan 2012, 02:39 PM
Hi guys,

Jelmer, thank you for the feedback. Indeed, you are right - the documentation is still not complete and we  improve it with every update. One of the reasons for that is exactly the Beta status - we can't add info about which files exactly are used for this or that component, because the names of these files could change till the official release and cached version of the old document (or quotes from it in the Net) would confuse the users.
This being said, I would like to ask you to post concrete problems (along with source code) - saying that something doesn't work lets us know that there might be a problem, but does not tell us what exactly the problem is. Full cases with sample and explanation would allow us to provide you with the most appropriate replies and more importantly will allow us to see where the documentation needs improvements.


Kind regards,
Georgi Tunev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Kingsley
Top achievements
Rank 2
answered on 17 Sep 2012, 08:57 PM
I agree. A starting from scratch video or guide is really needed to help those jumping on-board and also speed up the adoption process. After so many days of youtube and other places i came across this:
http://css.dzone.com/articles/introduction-kendo-ui 

Maybe it will help someone.
Tags
General Discussions
Asked by
Jelmer
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Jelmer
Top achievements
Rank 1
Andrew
Top achievements
Rank 1
AndreasW
Top achievements
Rank 1
Georgi Tunev
Telerik team
Kingsley
Top achievements
Rank 2
Share this question
or