I am trying to move from core PHP to some framework. I am trying to use LARAVEL as I got good reviews for it. I am able to set it up and can see the welcome screen as given in the tutorial.
The problem is after I import the project in Aptana, the moment I open any file it starts showing syntax errors. It seems to me that Aptana is not supporting Laravel however I am not sure.
Tried to search how can i make it work. Can anyone help? In case I need to move some other IDE can anyone please suggest which IDE I should go for?
Related
actually I am trying to setup SonarQube for my PHP-Project.
In my Eclipse Installation I'm trying to use the "SonarQube Issue Editor" which is shown here:
http://docs.sonarqube.org/download/attachments/6948813/sonarqube-eclipse-overview.png?version=1&modificationDate=1383220387000&api=v2&effects=drop-shadow
But I can't find this view, where you can directly edit the issue.
Everything other works well, i see the Issues-Tab and also the Rule Description.
Also tried SonarLint but there is the same like in SonarQube-Plugin.
Has anyone else have this problem, or a solution for it?
Is there maybe an other solution to edit the issues in eclipse, which are created by SonarQube?
I don't find anything else in the forum or on Google....
I Just don't get it.. Please help me
Got an answer from SonarLint developer:
SonarLint does not support associating a project with a particular SonarQube server, so there is no such editing possible at the moment. We plan to keep adding features to SonarLint so stay tuned!
Currently I try to get PHP and Zend working on Eclipse. I'm not sure if there is a plugin for Zend or something that makes it comfortable to use in Eclipse, like automatically initializing default MVC-pattern like directory structure, and so on...
I was googling for it and found some tools... First I tried to download and install the PDT from Zend (http://www.zend.com/en/company/community/pdt/), which I did, but if I create a new PHP Project, there is no option to make a "new Zend project" or something like this, so I kept on searching, and found this:
https://code.google.com/p/zend-sdk/wiki/GettingStartedTutorialInEclipse
which absolutely had no visible effect on the GUI of Eclipse. I don't know if it even worked, but it doesn't look like on the screenshots at all. On the screenshots of this projects you can see that there is a option while creating a new PHP project called "Zend Framework default project structure". Below I attached a screenshot of my "new PHP project" dialog.
So, my question is... Did I do something wrong? Or is there currently no proper Zend integration in Eclipse?
Also I want you to know that I need Eclipse for many other programming languages, so I don't really want to have a IDE for each language and it would be nice to get it to work on Eclipse somehow...
I am using Eclipse Juno... If I forgot to provide further information please let me know so I can hand them in later.
I appreciate every kind of help... Thanks in advance
I tried all the day to set up a Zend Framework project in Dreamweaver CS5.5. Now, after a few hours spending on google and the CS5.5 doc, i am still not able to debug a Zend Framework project in Dreamweaver:
Let's say, i have a module called "admin" in /application/modules/admin. If i try the Live View feature, Live Code, or the dynamic files discover, it fails at all.
If I try to debug the IndexController of the AdminModule, Dreamweaver always tries to render the page http://foo.bar/application/modules/admin/controllers/IndexController.php, insteadof http://foo.bar/admin[/index/index]
Is there any way to get those features working with Dreamweaver CS5.5?
Also, the include path does not work. The /public/index.php includes something like require_once 'Zend/Application.php';. Where does Dreamweaver search? He tells me that he can not find the file http://foo.bar/Zend/Application.php. Omg, srsly?
I hope there are some Dreamweaver PHP developers out there which can help me.
Btw, I am using Zend Studio at the moment and wanted to get a "quick" look into the new CS5.5 features :/
Update 16.05.2012
Little update from me. I'm currently Using PHPStorm from JetBrains. It is the best IDE I ever had. (Ecpilse/Aptana/Zend Studio/PHPDesigner). Autocomplete for nearly everything, huge plugin repository and much nice features like LESS Support, NodeJS Support, PHPUnit integration or an integrated Git Client. Give it a try. It's free for open source projects.
Dreamweaver can technically work with anything, but it's really designed to work with procedural php.
I would recommend the eclipse software with the pdt plugin or net beans. WAY better for supporting a zend framework project imo.
I'm not bagging on dreamweaver, it's a nice tool (especially for html/css), but for OO PHP programming, it's really not designed for it.
I just installed CodeIgniter, and it gave me the source code.
From what I understand, I should move the source code to my local server folder.
I did the configuration; but now what should I do next? What should I use to write code -- DreamWeaver, for example, like any other PHP file? Is there any GUI program dedicated for CodeIgniter?
The very first thing you should do is read the documentation. I do not use it myself, but I know for a matter of fact that CodeIgniter has some documentation. And there are heaps of introductions and getting started materials. (It also explains how and where to unpack it.)
http://codeigniter.com/tutorials/watch/intro/
http://codeigniter.com/user_guide/overview/getting_started.html
http://www.google.com/search?q=codeigniter+introduction
Btw, there are no clicky-coloury apps that do the coding for you. You will have to resort to an editor; and yes Dreamweaver will do. And then learn the API.
Codeigniter has excellent documentation, wiki and forum. For coding you can try Notepad++ (http://notepad-plus-plus.org/) which is free, light, colors syntax, have plugins,... and you can even put it on the usb.
After that you can try one of many IDE like Eclipse or Netbeans.
textmate has a bundle for CI, i do alot of CI development and I use the following
maamp for localhost
http://www.mamp.info/en/index.html
textmate for php html / css dev
http://macromates.com/
navicat for mysql managment
http://navicat.com/
I am attempting to setup codeigniter with eclipse but am getting project errors. From what I understand this should be as simple as creating a new project in eclipse and pointing to the root directory of codeigniter. This properly loads up the codeigniter files but eclipse reports several errors. Looking into the files, it seems like the errors are coming from html files and/or files that print html. For instance, footer.php is showing up as having an error because there is a closing tag but no opening tag. Any suggestions on how to overcome this? At this point would code completion / debugging be too much to ask for as well?
UPDATE: so from what I am gathering from the response below (and searching around on the web) is that when using codeigniter with eclipse one can only take advantage of the code completion / editing features? I also noticed that I am getting NoClassDefFoundError when attempting to open some of the .php files in the eclipse project tree for editing. Surely I must be missing something and there is a way to achieve tighter integration with codeigniter and eclipse? (i would strongly prefer to stick with eclipse as opposed to switching ides) Or maybe this is an issue with my eclipse/pdt setup?
UPDATE 2: I just downloaded the latest eclipse version (galileo) and it seemed to fix all of these issues! except for debugging of course ...
you can achieve tighter integration by initializing the Ci core classes in CI_Base constructor which will also allow you to get auto complete for core classes check out these links:
http://www.gostomski.co.uk/codeigniter/getting-full-auto-complete-with-codeigniter-in-eclipse
http://hetal.wordpress.com/2009/09/04/working-with-eclipse-and-code-igniter/
you will get lots of html errors because the html has been broken into chunks
and is not a complete document
just ignore them thats what i do (there are settings somewhere that control what errors are validated against in eclipse)
i still use the php/html/js code completion and it works fine even with the errors
if you are using svn version control, add subclipse plugin, so you can do that from within eclipse too
Try Aptana.
The last time I checked I was able to do a step by step debug on it and did not see any errors in my project. It is also built on eclipse, so there is nothing new to learn.
For what it's worth, I have been able to get debugging to work using XDebug and the Netbeans IDE. If you cannot get debugging to work in Eclipse you might give Netbeans a try - if for no other reason, to have the ability to debug should you ever need to step through your application's code...