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 5 years ago.
Improve this question
I am beginner and wanna to learn few things before i start php dev/learning . What is the difference between Zend Studio/Zend server and simple Eclipse Php (PDT)/wamp server..
Where we should use Zend and where we should the simple Php/wamp.
Can we get same things with both of these or there is technological difference.
Ok, this will sound like a marketing answer now.
The main difference is that Zend Server CE is a fully integrated stack offering
Bytecode accelerator (Optimizer+)
Zend Data Cache
A certified PHP distribution
Zend Framework
Apache (or IIS integration)
MySQL (on Windows and Mac OS X)
Out-of-the-box connectivity to all common databases
Java code connectivity
Web-based PHP administrator console
out of the box with Zend Studio being able to hook into that easily:
Auto Detection of Local Zend Server
Servers View
Zend Server Events List
Import and Debug Zend Server Event
Easy Project Creation on Zend Server
Quick Debug Mechanism
Debug & Profile Events
Zend Server API
Code Tracing import and viewing
The commercial package of Zend Server extends this with some additional features.
But, afaik, all of the above can be achieved with more or less the same features with non-Zend technology as well. You just have to put more work into it to get it running.
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 7 years ago.
Improve this question
I'm fairly new to web development and I have only published one website before. With that website I only used some PHP and without framework. Now, I'm planning on using the laravel framework for my next, bigger, website. I'm wondering if there are differences between publishing a website when using a PHP framework? If so, what are the major differences and where can I read about it (googling has not helped me)?
You have countless options. Here are some I am aware of:
1. FTP'ing
Basically, you could just publish your site/app by FTP'ing it up to your server. The biggest issue will be the Database-changes. Here, the main influence is, whether are you able to run migrations or not? You would at least have to have ssh-access to your server with the required prerequisites installed. Otherwise, you would need to keep track of the changes in some other way, and change the db manually (which is not an good option IMO).
2. Automated deployments
There are server-deployment automation-tools, the one i know is capistrano. You can write scripts which do the deployment. These tools are also capable of running migrations, if you tell them to do so, but you would need to have ssh-access for that. Google will tell you the rest, here is a good tutorial.
2.1. Push-to-deploy
If you use SCM for your "bigger project" (which i would highly recommend), you could use push-to deploy technologies. This approarch basically uses Git-Hooks for triggering deployment-scripts. Deeployer could take care of that for you, if you do not want to develop your push-to-deploy-solution from scratch. Other alternatives are Rocketeer (Open Source) or DeployHQ (Paid)
2.2. Using laravel-taylored hosting/deployment/server-management services
Services like laravel-forge or envoyer offer zero-downtime automated deployments. I guess they are also based on push to deploy anyway. If you want to learn more about them, i recommend watching the corresponding laracasts-series (Forge, Envoyer). Be aware that they are not free.
I hope this overview gets you started. Happy deploying!
There is no difference between publishing a plain PHP website and one with a framework. Simple FTP up all your files and it will work, just remember to upload the framework files also.
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 8 years ago.
Improve this question
This question might have been asked a number of times earlier like here. However, this did not answer my question(s). So I am posting again.
I have developed an Web Management Software. It is built using PHP/HTML/MySQL. The tool has a number of features like user management, signup forms, report generation etc. Now, I intend to get an Android App developed. I am not an expert at Android Development.
I am planning to build a native Android APP and not use ´webview´ library.
How do I get the Android App developed ? Do I need to make any changes on the server side for this ?
Do I need to build API and the Android APP would make httprequest ?
I am not keen on the solution proposed by Phonegap
Are there any other approaches which I might have to consider ?
I am sure, this could be very basic question for experts working in Android. It is just that, I have never seriously worked with Android. Sorry for my ignorance, though.
If you want to develop a APP for Android you have to write it in Java if you not want to use Phonegap.
You can use the Android SDK and the Eclipse version. (There is a Eclipse version made for that)
But if you want to build your Project you already developed you can use Cordova, it's a similar Project to Phonegap, but free to use.
Then you have to run a Service on your Server for all Funktions.
You can use Javascript there to connect.
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 developed in PHP for a long time without a framework, I just use PDO for help me with connection database. But now I decided to learn about Zend Framework to increase my productivity, to avoid repetitious code.
I work with Java WEB too, (Hibernate/JPA + JSF + Spring + Maven) that make my work more easy and organized, and I would like to bring it to PHP too.
So my big doubt is: I should starting with ZendFramework 1 or ZendFramework 2? I saw a lot of companies requiring knowledge about ZendFramework 1.
Zend Framework 1 is a dying product. It is the older Version of the Framework and Version 2 has already being developed with Version 3 being on it's way for later 2014 / early 2015 approximately. The reason for companies still requiring ZF1 knowledge is due to their old codebase.
Many companies are starting to re-write their products using newer frameworks to gain the advantages of the newer ones.
With this in mind: clearly go for ZF2 (or any other new fully OOP/MVC Framework). Once you master it, you'll be able to read ZF1 code just as well and you can easily adapt into any other Framework that your company may require.
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 want to start automating more of my web development process so I'm looking for a build system. I write mostly PHP apps on Mac OS X and deploy Linux servers over FTP. A lot of my clients have basic hosting providers so shell access to their servers is typically not available, however remote MySQL access is usually present. Here is what I want to do with a build system:
When Building:
Lint JavaScript Files
Validate CSS Files
Validate HTML Files
Minify and concatenate JS and CSS files
Verify PHP Syntax
Set Debug/Production flags
When Deploying
Checkout latest version from SVN
Run build process
Upload files to server via FTP
Run SQL scripts on remote DB
I realize this is a lot of work to automate but I think it would be worth it. So what is the best way to start down this path? Is there a system that can handle builds and deploys, or should I search for separate solutions? What systems would you recommend?
All you ask for can be done with Phing
Phing is a deployment framework written in PHP and modeled after Apache Ant. It comes with a large set of ready-to-use deployment tasks, including database deployment, remote file transfers and VCS connectivity. If you are missing functionality, you can extend Phing with standard PHP.
Phing provides the following features:
Simple XML buildfiles
Rich set of provided tasks
Easily extendable via PHP classes
Platform-independent: works on UNIX, Windows, MacOSX
No required external dependencies
Built & optimized for ZendEngine2/PHP5
You might also want to have a look to Hudson, an extensible continuous integration server.
The supported features are available here.
Among the other languages, it supported PHP. This article presents some nice plugins for PHP. The article is also suggesting Phing for the build. See Gordon's answer for details.