T
T
Tvoj_Sosed2015-12-22 00:39:10
PHP
Tvoj_Sosed, 2015-12-22 00:39:10

How to create a site like ask.ru?

How to create a site similar to ask.fm, ask.ru, spring.me?
What do I need to know and master in order to do this? What words should I write to the search engine and how do I find out how these sites work?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
H
HoHsi, 2015-12-22
@Tvoj_Sosed

Do not immediately aim for a big service, start gradually. Every novice programmer dreams of making a VK / FB killer with his first project. Let me tell you, it won't work the first time. As it will not work with 10. But! This is not a reason not to grow and learn. So if you still decide to spend a couple of months on training, or you are sure that it will take less, start like this:
Html. This is the markup language in which 100% of the web is written, that is, it is a de facto necessary thing. It will allow you to place text on the page, design it.
In a basic analogy, this is a Word for the Internet (shout bj pragrammers, this is a pretty good analogy for a beginner, let's continue ...).
* htmlbook
CSS. It's a styling language. Recolor the text, increase the indents, make the block shadow for it. All the beauty on the Internet is done on it. 99% of the web uses it for styling, so again, this is the standard.
* Sorax
PHP. This is already a programming language (bad, sick, ugly, but a language. Let the holivar begin) . It will help you understand how it works, how the kitchen works. Pick it up, learn the initial logic and algorithms. It will help you render HTML in a more meaningful way, i.e. you can already create dynamic pages that can adapt to the user, add posts, questions, pictures, etc.
* php.net
Wordpress. This is an almost finished site. It already has everything you need. You can write posts, make discussions, etc. Based on it, you can fashion anything, even the same questionnaire. It is written in PHP, so it will complement your knowledge. Once you learn how to install WP, try writing a template for it, then a plugin, and more and more. This will consolidate and develop your previous knowledge.
* wp-kama
MySQL. And in particular the SQL query language. This is a database. They are needed to store information on your site in a convenient way. Those. At its core, this is an excel spreadsheet, it has fields and their values. This is also necessary knowledge, since your questions from the questionnaire will be stored there.
A turning point is coming, which means that after half a year you have to sit down and think about whether you like what you were doing. It is important. Because it won't get easier, it won't get easier. Things like Asynchrony, Message Brokers, OOP, MVC, and other scary words will begin, which, just like the previous steps, will scare you at first, but then become best friends.
If you are really interested in more, then you can study the steps below. If you just want to have fun, then the above will be enough for you.
Do not rush to proceed to the steps below if you are not confident in your abilities. There is nothing wrong with "sit" on the previous steps.
JavaScript. Hooray, you've decided that you want to be a programmer, commendable. This language will allow you to make your pages more dynamic. Add animation, logic to them. This language is used by 90% of the web, so there is no point in doubting its significance. It will allow you to add life to your website.
* Sorax
* learn.javascript.ru
Jquery. It's a continuation of JS. This is a framework (a set of ready-made functions). It will make your work with JS easier and will allow you to do it better and faster.
Crossroads. You've been a programmer for a year now, great job. You have already grown out of the nursery and there is an endless ocean ahead. And now you have to understand what you want. Are you satisfied with your current tools. Are they comfortable. Are they embarrassing you.
If you like PHP, it's convenient, then continue to study it, but do not mindlessly and blindly defend the language. If you feel like he's confusing you, don't resist and just try something else. And believe me, this is a lot.
So the fork:
Ok, then you should take a look at Laravel frameworks, Yii 2 is quite good. They are quite powerful and will allow you to do a lot of things on yourself.
. Awesome, so it makes sense to try NodeJS. This is a version of the language (Yes, I know that node is an environment and not a language, let me explain to the person already) designed for compiling pages, like PHP. This is a very powerful tool, once you understand it, you are unlikely to want to leave it. It will help you write not only websites, but also apps for phones/tablets, PC programs, maybe games (but not worth it. At least with the current development of tools), daemons, services, console apps, etc.
Well, then you might like Python, Ruby - these two languages ​​are closer to PHP than JS.
Or you have become an adept of speed in a year, and do not see more joy in life than optimization and fast rendering. Well then you will definitely like GO and Rust.
Or maybe Dart will become mainstream by then, time will tell.
Whatever you choose, it will be a good decision.
As they say, I'll just leave this here. Now there is no point in explaining what it is, why it is and what it goes with, you just look at this list in a year and you will understand everything.
* Sass / Less / Stylus
* CoffeeScript / LiveScript / TypeScript
* Angular
* Promise
* NPM
* Express
* Gulp
* Jade
* Yo
* MongoDB
* MariaDB
* RabbitMQ
It doesn't mean that the language will be the same in any way, just the Language/Technology will be replaced by another , but the meaning will be the same. There will be new technologies, there will be new approaches, new languages. It will be interesting and fun.

V
Vladislav, 2015-12-22
@Div100

Try to decompose.
Break the task from "make a website" into many small ones, "registration", "authorization", "adding a question".
And then you can think separately about each of the tasks. It will be easier than thinking about how to create "ask.ru".

A
Arthur, 2016-01-14
@arturka_v_10

If it's a direct clone, then, according to the correspondence, set a request to the search engine a la: "ask script". But in reality, this will not give you much, you need to know what goes where and how. Although, there is enough video material on these actions, go for it. You will improve your skills - you will add and correct a lot of interesting things in your project.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question