If you like DNray Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

Recommend programming language for my web project

Started by neelseofast, Jul 22, 2022, 10:17 AM

Previous topic - Next topic

neelseofastTopic starter

I am planning to create a website that comprises of features such as extracting information from other websites (such as movie title, release year, actors), and also has an option for conducting tests for users.

I'm unsure of which programming language to use - php, python or JavaScript. It would be ideal to have a solution that's adaptable enough for creating a similar application.
Could you suggest the most efficient way to go about this? For instance, "Briefly, you can extract data using python, develop the website in php, and build the test functions in JavaScript."
  •  


zetta81

To accomplish this task, I recommend using pup and JavaScript(jQuery) - ajax, wherever necessary or possible. For versatility, python is the way to go. If you prefer, you can choose to do everything on the JavaScript branch - like node.js and others. The reason for using php + js is because it's a simple and easy-to-understand solution that requires minimal setup.

Overall, modularity is the key to success. It doesn't matter what you choose as long as your modules are optimal and produce the desired output. In my opinion, this is a broad subject matter. Write about what you know best - interactivity through js, vanilla, or with lotions - it doesn't make much of a difference.
  •  

ArturYenl

hello, I would advise doing parsing in python, as it is more practical and convenient in other cases, it's JS :)  :)
  •  

IdeaPad

JavaScript is a widely used programming language often mistakenly associated with Java. Despite the similar names, they are two completely different languages with different applications for server, mobile, and computer applications, and anything that uses a browser or operating system. Scripts are executed in-device in most cases, which makes it ideal for creating user interfaces and simple animations.

PHP is advantageous because its code does not conflict with HTML, allowing it to be used simultaneously with HTML for page appearance and PHP functionality. PHP is easy to learn, has developed data support, and is suitable for hardware platforms and well-known operating systems. The language library is solely designed to work on the server side, and its main purpose is for routine tasks during website development.

Ruby is designed for building sites and mobile apps but was once known for being slower and unable to scale large projects. However, after numerous updates, the slowness of Ruby depends on the programmer's abilities and the correctness of the architecture. It is also easy to learn, and its simple recording methods make it an ideal choice for novice specialists.

Perl is used for interactive applications and server administration and adapted to all popular platforms. It was created to eliminate the need for multiple languages in different environments by combining the capabilities of system administration and dоcument processing into one language environment. Perl is easy to use, processes large amounts of data, and has many ready-made libraries, but its largest drawback may be difficulty finding a specific module.

SQL is a fundamental part of programming, responsible for writing, reading, and structuring data from disk. It is widely used but can be complex and is only used today by programmers despite being originally intended as a tool for end-users. Knowledge of SQL is important when designing and working with databases like MySQL or Oracle.
  •  

e9ndhd

One of the most common and practical languages for programmers is JavaScript, which is often confused with Java by beginners. For parsing, I recommend using python.
  •  

Kobe

Hello, first you need to decide what you need a programming language for. There are many different types of programming languages, here are a few :JavaScript;
Python;
java
C/C++;
PHP
C#;
Visual development tools
Kotlin, each of them is individually good in its own way. So I'll give you advice if you can not decide on the choice of programming language, set a goal for what kind of work you need a language, and then choose the right one. Good luck!
  •  

sinelogixweb

You need to extract information from other websites, which implies web scraping. You also want to build a website with a testing feature for users. This means you'll need a language that can handle web development, data extraction, and possibly some form of user interaction.

Now, let's evaluate each of the languages you've mentioned:

PHP: PHP is a great choice for web development, especially when it comes to building dynamic websites. It's a mature language with a vast ecosystem of frameworks and libraries. However, it's not the most ideal choice for web scraping, as it's primarily designed for server-side scripting. You could use PHP for the website's backend, but you might need to use a different language for web scraping.

Python: Ah, Python! The Swiss Army knife of programming languages. Python is an excellent choice for web scraping, thanks to libraries like BeautifulSoup and Scrapy. It's also a great language for data analysis and machine learning, which might come in handy for your testing feature. However, Python isn't typically used for client-side web development, so you might need to use a different language for the website's frontend.

JavaScript: JavaScript is the de facto language of the web, and it's perfect for client-side web development. You can use JavaScript to build the website's frontend, handle user interactions, and even perform some web scraping tasks using libraries like Cheerio. However, JavaScript isn't as strong as Python when it comes to web scraping, and it might not be the best choice for the backend.

So, what's the most efficient way to go about this? Here's a possible approach:

You could use Python for web scraping, leveraging libraries like BeautifulSoup and Scrapy to extract the necessary information. Then, you could use PHP to build the website's backend, handling user authentication, data storage, and other server-side tasks. Finally, you could use JavaScript to build the website's frontend, creating a responsive and interactive user interface for your testing feature.

Here's a rough outline of how this could work:

Python script extracts data from other websites and stores it in a database
PHP backend handles user requests, retrieves data from the database, and serves the website's pages
JavaScript frontend handles user interactions, displays the extracted data, and provides the testing feature
Of course, this is just one possible approach, and there are many variations and alternatives. But if you're looking for a flexible and adaptable solution, this might be a good starting point.
  •  



If you like DNray forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...