Runescape Tracker - What do i need to know to make one? - javascript

I'm new to the programming world and i'm eager to learn but i've heard that the best way to learn is by having a nice project to work on. And i've always wanted to make a Skill Tracker for my clan. Could you guys give me any advices on what i should learn before being able to start on such a project.
I'm basically looking to make something like: http://runetrack.com/competitions/
I'm familiar with variables, loops, if else statements etc etc. But whenever i try to make a tracker or a simple highscore i get lost because i don't know where to start.
Cheers.

Basically Javascript and html for front end development.
Runescape has a rest API for high scores and the GE (http://services.runescape.com/m=rswiki/en/Grand_Exchange_APIs). You can interact with this API by using AJAX calls.
If you want to host the website, learn how to deploy a simple Apache web server.
Just learn the things I mentioned above: Html, Javascript, AJAX calls (using jQuery) and deploying a simple Apache server. This is more than enough. Along the way you'll pick up other technologies that you might want to use in developing your website.

RuneScape has an api for highscores and the grand exchange. See http://services.runescape.com/m=rswiki/en/Hiscores_APIs . Example of my character: http://services.runescape.com/m=hiscore/index_lite.ws?player=aarony . As for what to output it to, I suggest google apps script to get started.
I created my own google site using the above. If you would like to use it for ideas, you can see it here: https://sites.google.com/site/runescapeaarony/

Related

I can’t get Contentful connected to my site

So, I've only ever used WordPress, but I decided to build my site from scratch so I'm free to do whatever I want with my site. I'm a new developer and I just heard about Contentful.
I like the sound of it and I want to use it to build my blog, but I've been following their instructions and looking up external tutorials for 8 hours and I can't get it to work.
Contentful recommends using cURL, but I don't understand where to put that code or how to tell my site to generate a new page for every blog post once it's there. I've also tried the JavaScript instructions and that failed. There are like 6 other language options on Contentful, but I'm not familiar with any of them.
Sorry for my ignorance, I'd love any insight (and especially explicit instructions) you can give me on the best way to set up Contentful to semi-automatically push blog posts to my blog page.
Thanks!
With Contentful, you can use any front-end framework of your choice. Contentful will help you with managing your content, and you have the flexibility to select the language and framework you want to use for your front end.
If you want to quickly get started and are already familiar with the React ecosystem, you should check out Next.js or Gatsby quick start guides.

Integrate Payment Gateway into NativeScript App

i am quite new to Mobile App Development, Payment Gateway implementation and NativeScript itself. Now i shall integrate an IPG into a Mobile App build with NativeScript to allow the user to buy goods via the Application (it is already possible to do so via the Website). I do not have any information regarding supported payment methods yet.
Whenever coding something i do have the opportunites to either write it on my own or use an existing open-source API. I've decided to try an open-source API to make it work.
My Problem is that i don't really know where to start. I have been doing some research on "how nativescript works" and Payment Gateway itself. Basically any JavaScript code is going to work with NativeScript, so any open-source API for IPG working with JavaScript should do it for my Application, right? Since i did not find any open-source API's for NativeScript itself, i started looking for any JavaScript API. Sadly, all if found was an API of telecash (https://www.telecash.de/produkte-services/e-commerce/support-fuer-entwickler/downloads-handbuecher/) (watch out, thats a german side), whose documentation seems quite fine, but it did not seem open-source.
So my Question(s):
Can anyone tell me a little bit about any experience you might have with that topic (perhaps just a link or a tip)? Maybe there is even another thing that i should start with that i have forgotten? And i think i did not understand the difference (if there is one) between Payment Gateways itself and IPG. Maybe someone can help me out on that.
I can not post code here since i am still on the "research"-phase (have been for quite a long time), but I can not see any progress within it so I am counting on your help. Feel free to correct me if I did a mistake or understood something wrong I mentioned here. :-)
Best regards.

Calling Amazon Alexa APIs with JavaScript (for using AVS, not for skill development)

I am trying to develop a JavaScript based app that will interact with Alexa.
How can I call Alexa Voice Service APIs using JavaScript? (I am planning to utilize XMLHttpRequest for AVS connection.)
There is only an example Java app and it's a bit complicated for me to understand it.
Please note that my need is simple, I am not planning to develop Alexa skills, but just call the API from JavaScript.
I would start with the official documentation. It is quite thorough. Please reference the following:
https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/authorizing-your-alexa-enabled-product-from-a-website
https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/content/avs-api-overview
(^ especially the Interfaces section)
Perhaps I misunderstand what you are asking, but that should be enough to get you up to speed.

Creating web application for first time

I am tasked with creating a web application using HTML 5, CSS3 and JavaScript.( For a study assignment) and I have decided I will be making a web app to record your workouts in regards to weight lifting(As well as thing such as graphs and a counter for days without skipping a workout etc..). But there are a few requirements I have to meet and do not fully understand and would appreciate if anyone could help me with any of these enquires.
I need to use in-built cloud storage to ensuring persistence of data through in-built cloud storage. But as I try to create my project to utilize in built cloud storage, I am informed I do not have any subscriptions is there a free alternative to do this, or am I required to obtain a subscription ?.
I have also chosen to use ASP.NET MVC template to create my desired application, and was wondering if you consider this the correct choice for the app I wish to create? .
I am also required to make use of a library/ libraries external to the application and could use some clarification of if this mean using something such as JQuery etc. or I am just not understanding the requirement correctly. ?.
Sorry for such a long winded post. I look forward and pre thank you for and points you can help clear up for me in advance as well as for any addition tip you think a learner could use in the development if there first web app.
If you are a student, then you can apply for a dreamspark subscription for Azure.
I'm a beginner just like you, and I've used ASP.NET MVC to build my first app.I don't think the framework is an important part in project which is for a study assignment. Just use the one that you like most.
There are some packages that I used in my app:
Newtonsoft.Json
JQuery
NInject
log4net
EntityFramework

Introductory JavaScript programming task for an expert developer

What would be a good mini-project to get intimate with JavaScript, as an advanced 'introduction' to the language? I want to actually code an application in JS, not hook up bits of it to enhance a web application.
A lot of stuff you could learn by doing an RSS reader on a page. Google shows what can be done. The whole lection concentrates on javascript, network access, security restrictions and medium data mangeling.
If you have the ability to do any sort of backend programming than AJAX is really neat to do. You can get a lot of good effects with less efforts. A good thing to build on up.
I would argue that if you're really an advanced programmer then the exercises above would not really give you any insight into the language as they are just variations on things you probably have already done. Javascript's strongest suit is it's LISP style ability to grow. Write something AI(ish) that creates new functions. Most people don't utilize the language in this way, but, its ability to augment its own classes on the fly is, I would argue, it's most unusual and most powerful feature.
Although not a project, watch the Douglas Crockford videos at YUI theater.
The biggest web based Javascript projects are going to deal with the DOM. Do some nifty stuff with JQuery. Make a table with rows that highlight when you hover. Make them update themselves through AJAX and JSON when you click on them.
If you're really looking for something magical and usefull write a scrollable table with fixed headers and footers for IE8.
If you want to stay away from the WEB use the JDK 1.6 and run Javascript code in that. You could do TONS with that.
Whenever I'm trying to get familiar with a language, I will work on Project Euler problems with it.
I would implement a simple game like sokoban first.
The second application would be an AJAX-based multiuser chat application, first fetching other people's responses by polling, later with AJAX push.
Interesting question.
Really you could do any sort of application. In order to make sure you're using the latest and greatest stuff, I'd try making a simple CRUD style application using DHTML and AJAX. Perhaps a contacts list or calendar. If you're feeling really energetic, you could write the back-end in JavaScript as well.
Unless you want to get really friendly with the DOM and browser compatibility, I'd learn Javascript through the mask of one of the nice frameworks like Jquery or Prototype.
The Holy Grail - a WYSIWYG editor. They wouldn't need to complete it, but just seeing their plan of attack would be interesting. Plays right into patterns and OO.
I suggest you create a Google Gadget. You can create one for free and perhaps make something useful out of it. If you don't have a Google account, sign up for one. Then add the Google Gadget Editor to begin writing your code.
With the gadget, you'll be able to mess with JavaScript, JSON, CSS, etc. Furthermore, you'll be able to store the file on Google's server so you can work on it from any computer.
I created a simple RSS reader and wrote JavaScript to get the feed (using Google's API) then dealing with that JavaScript object because it came back as JSON. I then developed some JavaScript to hide/show div tags.
It was a good starter project for me to learn JavaScript.
Get JavaScript the Good Parts by Douglas Crockford. Also check out his web site: http://www.crockford.com
Key reason: just because JavaScript looks like C/C++/Java/C# doesn't mean it actually is like them. Things are significantly different. I suggest reading his book to get a grasp of those differences.
Otherwise, I would look at the JQuery web site. JavaScript is cool and all, but a good framework will save you from a lot of the pitfalls and make you much more productive faster.
try making an advanced AJAX application like for example try to recreate the google calander.
How about a firefox plugin to monitor StackOverflow? It could use RSS to monitor feeds and let you know when new questions are asked with your tags.
It could also be grown as your js skills progress.
Write yet another javascript framework, but focused specially in something, ie game programming.

Categories