Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I know HTML5 and CSS3, basics of JavaScript and jQuery, and I want to know what to learn next for back-end programming. Should I learn PHP or Ruby? How can Node.js help me? AngularJS? MySQL?
I'm confused and don't know where to start. Can somebody please explain?
HTML, CSS, JavaScript and jQuery are used for front end development. For dynamic web development you got to get into server side too where you can take data from user and generate content depending upon the data. So start with a basic server side language - PHP and MySQL.
Once you get to know how server side works, then you can proceed on with other language. These are few PHP based projects for beginners. Believe me when you are done with these PHP, server side and dynamic web development will be easy.
MySQL is your database. Install XAMPP (Windows) or LAMP (Ubuntu) to run Apache web server and connect to database using PHP.
Codecademy has a rails application development track, which I mention because you tagged this post with ruby.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have read many articles, forums and informations about SNMP.
Even though I struggle with my project.
The goal of my project is to display data that I get from SNMP on a web page. (Nice designed interface). SNMP protocol is compulsory. And it should run on linux server (I want to add more devices in a final part of project e.g. router, switch.)
Could anyone tell me some quick info what has to be done (step by step review)?
I would be glad for every help. I am confused about what is the best way.
Ajax/database/websockets/traps?
I would like to use PHP or Node.js if it possible.
I'm doing a similar project for my internship :
I'm using Perl script for back-end with Net::SNMP for snmp request,
Perl CGI for front-end,
and JSON for DB.
I suggest using a framework to create the web interface, for example Django (https://www.djangoproject.com/) in python.
Then you could use a python library (pysnmp will be great) to retrieve the SNMP data, and create a custom View to show this data in a web page.
If you want to stick with PHP, you can use the functions described here http://php.net/manual/en/ref.snmp.php to access the SNMP server, and again using a framework will be great (Laravel, Symfony ...)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have already created a website with a mysql database. Now, I am attempting to create an IOS app that will connect to the same database that my website "talks to". All of the tutorials I have seen have relied exclusively upon PHP and have walked through the process of creating the database. My website was not written with PHP, so I am completely lost on how I get PHP to help me in this case. I'm new to all this, so I am not sure what information is helpful, but so you know:
The website templates were written in HTML and CSS,
views page (functionality) written in python,
Flask is the microframework, and
pymysql is the ORM
Any pointers in the right direction would be much appreciated.
If you are using Flask then this is how you need to go through - there are other ways, but I would go for this -
Install Flask REST API to expose rest api from your site. You can get the documentation here - http://www.flaskapi.org/
Expose required API's from your website using flash rest api
Consume those API's with your mobile application.
NOTE: Don't ever expose your database directly to client side. BAD IDEA. Always use a middleware, could be php, python, .net - does not matter what it is.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
There's a website with an Ajax interface. My goal is to open up the page with Ajax components locally, in a browser, to let the Ajax interface fetch data (in a text file) from my local server. What is a good server-side language for this? i.e. having a competent library for Ajax interfaces. I want something lightweight so Java is kind of out of the question.
I'm currently thinking PHP, NodeJS or Python. Thanks for the help!
NodeJS is great for this. It has its own http module to make requests as well as tons and tons of user-created libraries to help or provide additional info. The http module will give a response that you can easily pipe to a file how you wish. Plus, if you already know Javascript, learning Node is relatively easy.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Im planning to write a server program to communicate with iOs, android and windows phone, which would be the best language to choose. I was planning on using PHP and JSON but still confused that if it is the most efficient. Anyone with experience on this can help me pls...
Please do not mistake me if its a stupid question I'm still a beginner...
Thanks in advance.
It completely depends on what you are trying to achieve. If you are really good with php you can use it or, you can use languages such as node.js to do this. Right now we are using node.js and mongo db to save some data on our servers and sending push notification to users.
I would recommend checking parse.com API's for your backend services. They have a free tier where most of the applications will fit. If you are really sure you will have more than 1 million requests every month, then you can start thinking of your own back end. If you are writing your own backend and if you are good with javascript, node.js is your friend along with mongo db.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I was just wondering if there is a licensing system (free or commercial) for a .NET program that uses PHP instead of ASP.NET for the server side of the licensing system.
I have looked at pretty much all of them (InstallKey, Activatar, SoftwareKey, CryptoLicensing, etc) and they all need a Windows server to run.
I personally don't like Windows servers because of their stability and would much rather use a Linux server instead.
My other question is if there is a reason they uses WCF/ASP.NET and how easy it is to convert ASP.NET to PHP?
Thanks
It wouldn't be difficult creating your own simple licensing system with .Net and PHP.
I use C# when programming and for licensing I use short polling (or long polling depending on what the program is) to connect to the server. You could easily create a WebRequest on the application startup to POST to the server for the licensing status of the user. It would save you a lot of money.