WordPress for java developer, is this possible? [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am a Java developer and I know Rest APIs. But what if I want to make great webpages using website building tools like WordPress and then with Rest API I can connect with my backend server.
Will that be a viable solution or I should look for something else?
On a very basic research I got to know that wordpress runs on PHP, but I am not looking to learn PHP at this point of time.
I am looking for the below things :
1 - Some tool which helps in building rich HTML page, that has drag
and drop options.
2 - I am thinking to use Spring boot for
configuring Rest API.
Basically I am looking for some suggestions in building good websites having knowledge of Java. (And yes I still need to learn Ajax and Javascript.)
I might be absolutely wrong on what I am looking, but any suggestion will be of great help.

A REST client (in your case a website) doesn't care what programming languages/technologies were used to create the server. You can have a server hosting a WordPress website (PHP) and have another server for your REST API created in Java or whatever other language you might want to use. If you want to make REST calls from your WordPress server (e.g. for server-side rendering), you'll need to use PHP. The more likely scenario is that the website makes REST requests from the browser, in which case you'll need to use JavaScript.

Related

getting started with web scraping [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
First I want you to know that I'm quite new with html and css, and at the moment I don't know how to use Java Script. I was watching videos on how to make a web scraper and I have some questions:
I see a lot of tutorials doing web scraping in python and since I quite know python I was asking myself, what is better for web scraping? Python or Java Script, which should I use? Can I 'connect' a python program with html?
I need to use web scraping for a web site, I'm trying doing something that takes specific dats from other web site and then display them on my web site, so people can see them. Do you have any suggestion on how to get started?
Please notice that I'm not too good in english, there are no tutorials or video for web scraping in my language and excuse for the error in this post.
Python can be used for web scraping, a popular choice is to use Beautiful Soup but usually you will need to use a few packages to do more complex things as you are describing.
Here is a nice tutorial that should help you get started:
https://www.dataquest.io/blog/web-scraping-tutorial-python/
In terms of the website you mention, you would need to create some kind of webapp using Flask/Django that will either populate a database with the information you are scraping or that will retrieve the information on request by a user of your website.
For the Javascript vs Python I am not sure as I have only used python. My experience has been very good with it but the following might give you more information: What is the best language and tool for doing web scraping?
, I wrote a web scraper in four different languages.
The following blog post might also be useful to you: Building a Web Scraper from start to finish
(Disclosure: I haven't read this fully, only scanned it but it seems relevant to your question)

How can I check how many visitors are visiting my website? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've a software developer having done most of my work in older technology stacks, and recently mobile iOS development. However I really know nothing about web other than a bit of HTML and interacting with web API's.
I recently purchased an out of the box template website to serve as a launching page for an application of mine. I would like to find out how many people are visiting my landing page. What's the best way to do this? Just go out and find some javascript applet that will do this for me? Where is the data/running-count stored? Or should my hosting provider (namecheap) provide this information to me automatically?
Install some sort of analytics script. A good one is Google analytics.
Its common for webhosting providers to have some sort of analytics engine running like awstats or webanalyzer.
Also you could create a free account in Google Analytics and follow the instruction to add a snippet of code to your page to count your visits.
Now if you also want to show a visit counter, the best alternative is to make it with some server side code and a database (or a file). It is relatively easy and if you post your server infrastructure (php, asp, mysql,postgres, etc) i could expand this answer with more help.

Easiest way to go about writing basic data back to a server database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am totally new to writing back data to a server, so this question may be phrased slightly wrongly.
I am building a website that will have multiple fields for users to input values. I am planning on using JS (probably with Jquery) to pass these values to be stored on some kind of database. I would then like to recall the values and display them back into the site (again using JS).
Ill have to make some calculations based on all the values within the database and would like the end result of these calculations to also be called back onto the website through JS.
Basically i dont even know where to start.. everything i read about this topic seems to be aimed at someone who already knows how to initially set up a database and what kind to use. My scripting is rather on the basic side, so something fairly intuative from the database would be really handy.
Does anyone have any suggestions what sort of database i should set up and how i can begin learning this?
Take a look at https://www.codecademy.com
It's free and they have easy to follow courses that will teach you all the technologies you'll need to know to build an interactive web application.
You should check out php (server language) and mysql (database). You should install wamp if you are on a windows server, or mamp for mac. Play around with php and then create your database and play with that. In mysql there is a new interface called PDO for database connection and database requests, you might wanna look into that. Google is your friend and read a lot and try stuff, that is how you learn it. you might also wanna consider taking online classes.

JavaScript equivalent to Smalltalk development cycle [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Recently I started reading about Smalltalk and its way of development and I was quite impressed. I was wondering whether there is some sort of library that makes possible the same way of development in JavaScript. I found some libraries but they just reload the page or restarts a running node.js server. I'm interested in both client side and server side JavaScript libraries. Amber Smalltalk is nice but I'm looking for a way to do the same in JS.
Edit: I'm looking for some sort of live editing of objects and prototypes and saving the changes to a file, or changing the contents of a file and the added methods are propagated to a running page or server. All this placed in an IDE similar to that of Pharo. What I found is that Meteor and Brackets support some kind of this functionality (live editing going from a source file to a browser).
You should have a look at "Lively", a project providing a Smalltalk-like environment in JavaScript:
http://lively-web.org/
It was initiated by Dan Ingalls, implementor of the original and later Smalltalks.
You can find an earlier version and some additional resources at http://lively-kernel.org/
There is also morphic.js, by Jens Mönig, which is the engine powering the Snap! graphical language/environment:
https://github.com/jmoenig/morphic.js
It is not client+server, but it is really easily portable to NodeJS.
Checkout LiveReload.js. Allows you to write javascript and changes are updated in realtime without refreshing the page using the LiveReload protocol.
Take a look at SqueakJS:
SqueakJS executes Squeak in a web page without a plugin. It is a fully
capable virtual machine implemented in pure JavaScript running
unmodified Squeak images. Squeak is a modern implementation of
Smalltalk, the original dynamic object-oriented programming
environment. It runs bit-identically on virtually any platform, and
now in the web browser, too.
https://bertfreudenberg.github.io/SqueakJS/

Looking for Documentation Pointers/Tutorials For Adding Javascript To Django application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I would appreciate documentation and/or tutorial links to help me with the following.
I maintain a traditional web application, implemented in html, javascript, and Perl. The web site uses a third-party open source library that implements buttons. If you wave the mouse over the buttons, they indent and put up a tool tip. The site looks very professional.
I've implemented a very simplistic Django application. It does the job, but uses hyperlinks. I'd like to dress up my Django application, and make it look more professional `a la the traditional web site.
I tried this before with some simple javascript, checking fields to see if they contained a valid answer, and this did not work. As it was explained to me, it had to do with the server side processing.
Given there is no javascript already, I have no problem using a different library (JQuery) than my traditional web site.
I have no problem if someone thinks implement in html, javascript, and php, because I've got one of those applications, too. However, I'd like to continue with Django, if possible.
Javascript and Django are independent. I use Django with jQuery UI to get nice buttons but you could use any javascript library, including the one you are using in the original site.
Your existing site is either using hyperlinks, the same as Django, that are modified in the browser to be buttons (this is what jQuery UI can do as well). This is the simple case you just need to put your javascript in the templates.
If it is a complete ajax application you'll need to write Django web services to handle those.
Your best bet is to find a tutorial for the particular javascript library you are using because Django is pretty much javascript agnostic. For instance the jQuery getting started page is a good place to start.

Categories

Resources