Replacing server-side language by JavaScript [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I would like to know if it is possible to replace a server side language (PHP, C#, Java EE, etc) by JavaScript to do the same work (accessing a database, using sessions, etc).
I hate PHP the more I use it, I'm too lazy to learn the EE part of Java, and I don't know C#, and since I like JavaScript, I'd like to use it for that.
Is it possible / doable ? If yes, can you point me into the right direction to get the required software ?
Thanks for your help !

You should have a look at Node.JS... It is basically server side Javascript.
http://nodejs.org/

Related

Create interactive plots R-plots on website [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Last year I was working on a project concerning the creation of R-graphics. I remember that, during my research then, I came across something to visualize interactive R-graphics on a webpage. Unfortunately, I don't remember the name.
Does anyone know a good package/... to achieve this? I would like to get data from a database, use this data to generate a plot using R, and then visualize the plot on a webpage.
There are two ways of doing this. You could either use an direct method or an indirect method. For the indirect method you generate the javascript in your R script and pas it on to PHP (which is a lot of work but gives really nice graphs):
direct method
Knitr - compatible with R-studio
GridSVG
Shiny - compatible with R-studio
Indirect
Highcharts
D3.js
Rickshaw
Personally I'm most excited about epivizr which makes use of D3.js

Looking for language translation function for PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I would like to add language translation to my site. Is there any freeware (or at least inexpensive packages for a one-time fee) that will work more-or-less like this:
$french_text = translate ($german_text, 'german', 'french');
I don't expect it to support every language in the world, but to be useful it should at least support most European languages. Also, being an English site, it's acceptable to me if it needs to use English as an intermediate language like this:
$english_text = translate ($german_text, 'german', english');
$french_text = translate ($english_text, 'english', 'french');
Does anything like this exist for PHP?
You've got mainly two options (that i know of, theres probably a ton more).
You've got PHPs intl stuff, or you can use the Google Translate API

php codes comparison with classic asp [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
Does anyone knows where to find a site that has a code comparison of php and classic asp? some sort of cheat sheet comparison guide. I need to convert a php site to classic asp.
please advise.
Thanks.
ASP is a framework so there is no direct comparison to PHP which is a language. ASP does support vbscript and javascript languages.
Here is a comparison to vbscript/javascript/PHP languages
http://phplens.com/phpeverywhere/node/view/30
Have you tried this?
http://www.me-u.com/php-asp/conversionnotes.htm
It obviously has some limitations, but I hope it helps.
Cheers!

php/mysql client management software? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for some software that will allow me to do the following:
alt text http://patrickg.net/lookingfor.png
I don't need anything fancy, just basic information, back and forth dated comments, etc. No payment integration, or file handling.
Thought I'd ask before I write my own
Good luck with that - but from what I've seen, most of the stuff out there have x100 more features, and an appropriate learning curve. I don't know if you can find something with the exact features you've asked.
What's the problem with rolling your own, though? As long as you use a framework, isn't it just a couple days' work (maybe even a day)? Learning/using a full-fledged CMS might take more time.
This may be overkill, but you may want to take a look at SugarCRM

Learning JSON in relation to php [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Anyone knows where i can get good introduction info on json in relation to php
You can check the PHP manual for JSON functions: json_encode and json_decode
You can also take a look at json.org for the JSON spec.
In brief, JSON is a data format that can be read natively by Javascript, which makes it very fast and convenient for doing AJAX requests or generally passing information from server-side scripts to Javascript.
there's not much to be introduced to. try var_dump(json_encode($x)); and var_dump(json_decode(json_encode($x))); for different values (and types) of $x, and you know basically everything there is to it.

Categories