I am sorry for my terrible English.
I ask for help with the following task: write a web application that would execute sql queries to the database: select, update, insert and other basic operations. About the interface - the text field where the request is entered and then performed after the click of a button. It is also required to provide registration pages, plus different functionality for the administrator and the regular user.
From the "technique" it is recommended to use Java + Spring Framework, TypeScript + Angular, MySQL. However, the problem is that from all that list I have worked only with Java and MySQL. In short, I have a little experience with the front-end (HTML, CSS, JS), but haven't yet tried working with back-end. So I am completely newbie with all this.
Therefore, I ask for help with some good tutorials on this topic. Alas, there is no way that I could raise all this from scratch. I just have no enough time for it. Please share with me tutorials that really helped you and do not throw the first links from Google. I am able to find those in a search engine myself, but I regularly find outdated or too complicated for a beginner.
Related
I want to create an app for a website that I don't own, like youtube or reddit. Every time I search for help, all I keep getting is how to create a webview. I've done that but that's not what I want. I want to take the website's content and create an app with it, like create my own buttons and such. I want to convert a website into an app.
I was thinking of somehow loading the website in the background and creating activities/buttons/intents that basically do what the webpage does but I don't know how to go about that or if there's a better way.
Thank you in advance.
Please let me know if clarification is needed.
Alright i got -3 votes for some reason and it has been 12 hours since i posted this question, i'm guessing the question has been consumed by the abyss of questions by now.
I made a reddit post and got some responses:
one user:
The term you’re looking for is “web scraping“ or “site scraping”. I think that’s probably what you need to research before you’re ready to handle how to make that into an app.
That’s a good starting point and once you have the content from scraping, making the app is no different than any other app.
second user:
If the website has a public (or private) API, you can use your buttons and networking calls to their API to build your client app. You are building a "YouTube client" in this case using the YouTube API.
If they dont have an API and you don't want to display their website, what you are doing is trying to reverse engineer their website and hijack the UI which is not a good practice and may even be illegal depending on the site and terms.
third user:
#second user is right on the money, but one thing I'll like to add is, the goal is to get data off of the website so that you can use in your app. An API is one (convenient) way of doing that but others are,
RSS or similar feed content (prefer this if there website supports)
HTML scraping
The above two will require you store the data somewhere else (and possible expose an API instead) because of technical reasons: you don't have access to older entries in RSS feeds and it's atrocious to keep on scraping everytime you need to access the website data. They can be done on the client (mobile app) but are best done on a server. This means you might need to get your hands dirty writing server code but you don't have to.
/thread
I'm going to do research on website scrapping and APIs to see which route i should go.
Hopefully this helped someone else.
I am developing a game for Android using LibGDX and a key requirement of this project is to be able to store and query data in a database. I need a database for several reasons; one main reason being the need to store user details when they sign up and validate them when they log in. I also need the database to store dateandtime stamps, game stats, e.t.c.
I was thinking of using SQLite to implement this and I have already designed the relational database, however, I cannot find a feasible solution to doing so on LibGDX. I have seen forums and posts mentioning the use of interfacing, however, I have researched and tried doing this method for far too long now and to no avail. I have read this article - https://code.google.com/archive/p/libgdx-users/wikis/SQLite.wiki but it doesn't help at all. I have also seen a few third-party extensions for enabling the use of SQLite databases.
This is the link to one I attempted to use which uses interfacing - https://github.com/Inexsoft/libgdx-database-extension
This is the link to one I attempted to use which gives several project files in order to somehow enable the use of a database with LibGDX - https://github.com/Inexsoft/libgdx-database-extension
I am able to implement an interface for Native Functions on a basic level such as opening a website - also from another post I saw on here (Using SQLite from libGDX on Android). However, I have no idea as to how I can develop that example any further to accommodate the use of a database. Please note that I am willing to explore other options in order to store this data, however, it really needs to be in a relational database form due to the nature of my project requirements. It does not have to use SQLite, if there are better alternatives out there.
Any help will be greatly appreciated as I have no other resort left and the project deadline is fast approaching.
I'm having a small problem with a personal project, I'm trying to create an auction site in React - it's an amazing learning experience - with a Java backend.
One trouble I've stumbled upon is how to "sync" data effectively, when new data is inserted into the database from a different user, such as if a user would bid on an item, how would other users update their data?
The only way I can see it happening is with a push model, or constantly polling for data from the server. Both seem pretty out of reach, to be honest, although the push-model seems the more likely of the two.
I could somehow set up an observer pattern with users "registered" when viewing an item, although if there is a better method, I would love to hear it.
I already tried searching for answers, but either none exist (I doubt it), or I'm simply terrible at using Google and don't know the keywords to search for to get the specific results I need. (Likely)
Thanks in advance!
You are looking for a kind of server push technology. Try researching more into Websockets or Server-Sent-Events.
A start could be: WebSockets vs. Server-Sent events/EventSource
I am creating simple search application. I have search parameters in ArrayList that I want to use to make search in database. Every single time size of ArrayList would be different. I already have most of my application completed and this part made me completely stop.
I use Volley and my PHP for getting JSON from database and I read that I could also send parameters by Volley, but don't think it would work for me.
Friend told me that only way to make this is to use services (I still trying to understand what they are). I tried researching Django, Spring, but I cant understand what I can use them for, I'm so confused about this part.
I want to ask for your guidance for my specific problem, because I don't even know what I should be paying my attention searching in Google as there not so much tutorials for Spting framework or Django or other methods.
I would like to make/implement an widget that will show statistics for specific user at webpage (number of clicks at some links or butons, etc.). Initial idea is that user can click at some small button in corner of window and widget with his statistics will appear. That will later also be packed as Firefox plug-in.
Regarding my present searches, I found that there are couple free tools (like AWStats, Webalizer,...) that are doing similar job, but I'm not sure is it possible to customize them and implement in manner that I need. Also I was looking for Google Analytics API, but it looks like much more complex tool than I need here.
Technologies that I thought to use are GWT (Google Web Toolkit), because other parts will be written in Java and in my readings I found many thumbs up for this technology. I have to mention that I’m beginner in GWT, as well as web development, but I have experience in desktop application development, so I’m not beginner in programming.
If you need more information feel free to ask, and I’ll do my best to make my questions as clear as possible! Thank you in advance!
Nemanja