im currently making an iphone application that will be in need of a web service. And obviously im thinking about releasing it to appstore eventually. So my question is what kind of web service should i use that is "well known " or what normally people woould choose?
It does not have to be free just that its professional. Anyone has some tips?
I have been looking into amazon web services and im trying the 12 months free trial, and i cant seem to find any tutorial of how to upload some files that will produce a json text as a GET request. If anyone have some information regarding that or a tutorial that would also be great!
If you are not happy/confident about developing server side code you could also consider using services such as Parse
https://www.parse.com
You're asking some extremely open-ended questions for which there is no single good answer.
So my question is what kind of web service should i use that is "well known " or what normally people woould choose?
There are plenty of "well known" web services to choose from. First you need to decide if you want this to run on Windows or on linux, and the answer for that question depends mostly on what you are comfortable working with and what you're used to programming on. If you're going the linux route then you further need to decide what linux distribution to use: RedHat, Ubuntu, Debian, Amazon, etc.
The answer to that question will then narrow down your choices of the actual "web service", be it IIS (Windows only), Apache, nginx, etc. And those answers will also depend on and/or help decide which programming language(s) you want to utilize: java, C#, python, ruby, perl, etc.
i cant seem to find any tutorial of how to upload some files that will produce a json text as a GET request.
The reason you can't find such a tutorial is because it's going to depend greatly upon the answers to all the above questions. If you want to implement this on Windows using IIS and C# then any tutorials are going to be specific to those choices. If you want to implement this on linux using Apache and java then any tutorials are going to be specific to those choices, and significantly different from the Windows based tutorials.
I am attempting to determine what can possibly be the causative factor for 20+ second response times from a Rails 3 application located in EC2 using Elasticache. I have reason to believe the problem is in fact cache related, but I have no numbers to prove it. I'd like to get those numbers. For the sake of completeness, we're running the applications atop Ubuntu 12.04 .
Searching Google, I found nothing directly relevant to my situation, and no StackOverflow topics I could find were even remotely relevant to my situation. If anyone can point me to some documentation on the matter, I'd be quite appreciative. Thank you!
I've found the best tool for this to be New Relic.
http://newrelic.com/
I don't work for them and get no benefit from you trying them.
They have a free level that you can start with. If you go up to the non-free version you can literally trace all your requests through different models and into the database telling you how long the app spent in each section. It's a great tool for profiling.
Do you, by any chance have access to standard web logs including URLs and response times?
I faced a similar situation, searched the web, found nothing relevant, and eventually decided to roll my own, which I shared in this SO post:
Profiling a multi-tiered, distributed, web application (server side)
While it is far from perfect and may be too high level for some use-cases, it gave me a pretty quick and broad insight into where the application I was trying to profile is spending most of its time in, and what the slowest parts are. HTH.
The best parts of it are that:
It is 100% platform and programming language independent.
It is a 100% free software solution
I have to develop my own IRC Server for a project for school.
School does not require much and all i have to show them is a functioning
irc server which accepts multiple connections and actually performs the basic tasks
such as opening a room, chatting, banning ..
I developed my own IRC bot when i was younger but building the irc server is much harder,
as i do not have time to make my own research or read the whole RFC of the IRC Server protocol.
so the special is, do you know any sites/tutorials/articles that describe in short the irc server protocol, so i could develop a basic irc server without reading a whole RFC?
I know it might piss off some people that i do not actually want to study the protocol but just kind of "copy" it for my school project. this is not the case, i do want to study it as i studied a lot of protocols, and i will. Right now i do not need to understand it, i just need something working for my project, or i will be left without a grade.
What language do you use?
Here is an working simple irc server written in java by Alex Boyd.
Edit: The source code for got lost in time. Use the archived version.
I see #jous has already answered your query.
For others who want to learn about IRC server development, here is a very good resource - https://www.alien.net.au/irc/index.html
ok, I started a bounty (and may up the points). Please read the question. It's not so much the coding as the configuration, and I have not yet found anywhere that explains that.
I have read a bunch of tutorials, believe that I grok SOAP conceptually but am still having problems getting it to run.
I think that I am ok with the coding, both server and client, but my problem seems to be actually consuming the service. That is to say, which files to copy to which directories on http://localhost, what my WSDL should look like, how to run the software and what values to set in my THTTPRIO component.
Is there an extremely basic tutorial aimed at developing SOAP using Delphi and running (testing) on localhost?
Even http://www.agnisoft.com isn't helping me :-(
May be here :
http://www.ebob42.com/cgi-bin/Soap42.exe
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'm planning on creating a social networking + MP3 lecture downloading / browsing / commenting / discovery website using Ruby on Rails. Partially for fun and also as a means to learn some Ruby on Rails. I'm looking for a social networking framework that I can use as a basis for my site. I don't want to re-invent the wheel.
Searching the web I found three such frameworks. Which of these three would you recommend using and why?
http://portal.insoshi.com/
http://www.communityengine.org/
http://lovdbyless.com/
It depends what your priorities are.
If you really want to learn RoR, do it all from scratch. Seriously. Roll your own. It's the best way to learn, far better than hacking through someone else's code. If you do that, sometimes you'll be learning Rails, but sometimes you'll just be learning that specific social network framework. And you won't know which is which...
The type of site you're suggesting sounds perfect for a Rails project. If you get stuck, then go browse the repositories of these frameworks. Who cares if you're reinventing the wheel? It's your site, your vision, your rules.
If you just want a site up and running, then I would pick Insoshi or LovdbyLess simply because they're out of the box apps so you'll have to do less to do get running. I suggest trying to install them both, and introducing yourself in the Google Groups. That'll give you a good indication of wether you're going to get along.
Update: Insoshi's license has changed to the MIT license, which means you're basically free to do with it as you please. But still, review the license for any code you are considering before you get too invested in it.
Something to keep in mind when deciding is the license for the code. Insoshi is licensed under the GNU Affero General Public License, http://insoshi.com/license. This means that you have to distribute the source code to your Insoshi-based web application to anyone who uses that web application. You might not want to do that, in which case you'll need to pay Insoshi a license fee (they dual license, like MySQL).
LovdByLess is distributed under an MIT license, http://github.com/stevenbristol/lovd-by-less/tree/master/LICENSE. This means you can use the source code however you want to.
I've not worked with these but am aware of this comparison:
"Unlike Insoshi and Lovd By Less, which
are full social networking Rails
applications, Community Engine is a
plugin that can add social networking
features to existing Rails
applications"
from
http://www.rubyinside.com/community-engine-rails-plugin-that-adds-social-networking-to-your-app-901.html
Regarding RailsSpace, that's a very nicely built Rails 1.2 application, and I think it was updated for compatibility with Rails 2.x. There's even a terrific book that was written about the RailsSpace application (or rather, RailsSpace and the book were written together).
But, RailsSpace became Insoshi, when the authors were so inspired by the amount of interest in a social networking site built in Rails. So while RailsSpace might be an interesting learning exercise, it's dead in terms of development. All of the authors' efforts (for more than a year now, I think) have been going into Insoshi instead, so that's where you should be looking.
Another option for anyone who wants to create a social site without having to build it from scratch is the EngineY framework. EngineY is a social networking framework written in Ruby and Rails. It provides alot of popular social networking features such as activity streams, groups, photos, message boards, status updates, events, blogs, wall posts, integrated twitter feeds, and more. EngineY is also under active development with new features being added all the time. You can read more about EngineY and download it from: http://www.enginey.com
Use Rails 3 and roll your own. Don't copy and paste code though, look through the source and try to understand the reasoning or motive behind certain design decisions, only then will you learn.
Just a quick update, EngineY now supports Rails 2.3.5 and just released this weekend is support for themes. This goes along with existing features including groups, blogs, photos, REST API, status updates, Facebook Connect, forums, private messages, user profiles, activity feeds, wall posts, and more... Check it out at http://www.enginey.com or on GitHub at http://github.com/timothyf/enginey
One other positive to Community Engine is that it is using Engines which is an advanced type of plugin that is becoming a part of rails in 2.3. So what you learn from using Community Engine (and therefore Engines) will be useful going forward.
i'm currently testing both lovdbyless and insoshi. i was able to install and get insoshi up and running fairly quickly whereas lovdbyless is giving me a harder time.
if you're in novice mode, i suggest getting the book from Head First.
http://www.headfirstlabs.com/books/hfrails/
it is probably one of the better books out there for beginners. atleast in my opinion because i went through a few that was just way too confusing.