We have to develop an specific webpage with php and up until now we have used asp.net, the problem is that we arent able to take the tipical development steps in php.
For asp.net:
Design interface (aspx/html) (With visual designer)
Create controls events (Button click, combo select etc...) (for ex. double click on x control creates the asociated click event in codebehind)
Add control/bussines logic (X button clicked-> make x control visible/enabled/change its text. Intellisense or autocompletion or so, detecting the objetcs and controls that exist in the design page)
In php there doesnt seem to be clear relation between a designed page and php code (its like striping all the intellisense in asp.net and using only response.write() to do the visual changes :S)
After some searching the model we use is WebForms asp.net (not mvc .net) so the desired option would be a framework + designer as alike as WebForms as posible...
So...is there any framework + ide that helps with this problem?
I haven't used it yet, but the NetBeans IDE provides support for PHP along with the Zend and Symfony frameworks, both of which are designed to support building web applications with the MVC pattern. NetBeans also has support for other aspects of web development - HTML, CSS, JavaScript. The only thing lacking right now is support for HTML5, but I believe that's on the roadmap.
I've edited some existing PHP with NetBeans, and it seems pretty sharp with code completion and suggestion, so I would suspect that support for these frameworks is also pretty solid.
You can use Prado Framework, this is like .Net, but on PHP, of course is not complete like .Net. Just search Prado Framework on Google and go to whatever link of the result page.
Sorry for my english, i just wanna help.
Bye.
In the end we used the VS.PHP plugin...it isnt free but at least we continue using the familiar Visual Studio IDE without reconfiguring much our development setup
Related
just a quick question, I have just done some research and I can not find a complete solution to my problem. I am using Dreamweaver CC only because I have started working with Designers and its the edit program they use. They have no PHP knowledge and they use Dreamweaver to build all there Photoshop designs.
I have found a few sites about how to add .ctp files, but it (Dreamweaver) only lets me edit the .cpt files as PHP files and not view them. I am running the CakePHP site I am using for these tests within a VM (virtual machine) locally. But although I have setup this as a live sever and I view the controller, it just loads the missing AppController message?
So are there any way of getting Dreamweaver to load and view CakePHP completely? So my designers can edit / build their designs the way they want?
I am very stocked, CC is a very new version of Dreamweaver and yes they seem to have added, LESS and SASS support (last version I used, some time ago, was CS4) and it seems very good, nice syntax highlighter. But why don't they support frameworks, its not just CakePHP, but they seem not to support any PHP based framework? I think with the use of these frameworks, lack of support is stocking!!
I will also just as a side note, I may be building Drupal powered sites for them as well, any pointers on getting that to work in Dreamweaver to?
Many thanks
Glenn.
Your designers (in the best of luck) use some html dummy content to create css files that style it, based on a photoshop or other mockup.
You as a developer need to turn that html to a cake or any other framework template.
There's no automated way for this to be done as no tool can do the creative thinking a human mind can do. That's why dreamweaver doesn't do it. LESS and SASS are not programming languages per se, it's a way to script common CSS which is a different thing.
I believe you shouldn't be adopting to the tools your designers use and neither should they adopt the tools that help you, as much a house builder doesn't need to use a CAD to build on a blueprint created by an architect on a CAD, neither an architect needs to know how to operate machinery. You just need a common ground to talk to each other (the blueprint or HTML/CSS).
So don't force yourself to work on dreamweaver and neither force your designers to work on a code editor. Don't expect dreamweaver to (ever?) integrate a programming IDE as that would be too bloated for both developers and designers and without any true advantages to my opinion.
I'm starting a small project for my programming classes and I need a tool to design an UML model of my application, which then I can implement in PHP or JSP.
I downloaded and installed Argo UML and Poseidon Community Edition, both of them seem pretty neat, but I need to choose one over the othed so if you have any experience with both, which one should be better for me? Is there any other choice I should be aware of?
Secondly I use eclipse IDE and I'm a rookie both in PHP and JSP programming so I really don't care about using one or the other, I would like to work with the one who best integrates with my UML design tool choice. Which one would you recommend me?
I would recommend you Argo UML. It has everything you need for a basic project and unlike Poseidon it's opensource. Also, Poseidon code is based on Argo, so there's not much of a difference if you want to switch from one to another if you require some functionality one has and the other doesn't for future projects.
Poseidon has a version specifically designed to build PHP projects which integrates with Eclipse, but unlike Community Edition it's not free of charge.
Also, consider usign UML integration tools from Eclipse's MDT project http://www.eclipse.org/modeling/mdt/?project=uml2
About the language, I would go for PHP (If you're using Eclipse I guess you've already heard of Eclipse for PHP) but maybe because I'm more fluent on it I see it easier to set up a WAMP/LAMP server and start coding right away, I don't think it really makes much of a difference to use PHP or JSP as long as you use each language's specific tools properly.
While I know PHP extremely well, I was wondering if there is any frameworks / GUI's out there that allow you to develop PHP in the manor that you can develop ASP.net sites? Most important features would be the separation of behind the scene's coding from the actual web view itself. This means each page has it's own class generated behind the scenes and can auto detect when certain buttons are clicked. It would be ideal for all this to be handled by the framework so I don't have to do it all.
Things like textbox1.text would be amazing, but I have no expectations of that. Getting from the $_POST is ok.
Other key features I'd like is the ability to create classes with namespaces and #regions so i can easily access / see only what I want at a specific time. A Data Access Layer object like .net would also be amazing so my SQL could stay clear and in an object form.
Again I am being very optimistic in asking if anyone knows of a setup like this, but figure it's worth asking as I have to develop a rather large PHP project and development time decreases 10 fold due to the usability of even Netbeans compared to ASP.net / Visual Studio.
I appreciate any input
The closest PHP framework I have seen is Prado.
PRADO is a component-based and event-driven framework for rapid Web programming in PHP 5. PRADO reconceptualizes Web application development in terms of components, events and properties instead of procedures, URLs and query parameters.
I haven't looked at it in years though and the old site says they have a new framework, but I'm not sure if it uses the same style.
What you're looking for is a PHP framework with an MVC architecture. There are a lot of those out there, so take your pick. It won't work exactly like .NET since it's a different technology, but you should definitely use a properly structured framework for any serious project.
Hi there I would kindly like to ask if NetBeans has any sort of GUI builder like the ones they offered for Java programming? Sorry for the noob Questions. If so, how do I install or use them? Thanks.
The only GUI Builder I know for PHP is Delphi for PHP, or it's new name RadPHP
for the new version there's a twenty video show some of it's features, you can look at them here
No it does not have this functionality as PHP does not have any GUI components built in. PHP is usually combined with HTML and CSS to render a view. Netbeans does not have a builder for HTML and CSS either so the answer is no.
There are some primitive examples of IDE's that includes GUI components. But Netbeans does not have a GUI editor or builder for PHP. Soon enough IDE developers will include some standart components since there seems to be a rising demand for visual web development. To counter balance Visual Studio, the "php"ians will retaliate somehow.
Now Netbeans version 7.3 beta support inbuilt gui builder for html5....
May be this will help us.
I'm getting started with Flex and initially installed the Adobe environment (Flex Builder 3) and later found out that they're starting to call it Flash Builder 4.
Anyway since I'm very new to this technology and I have to leave Flex Builder 3 anyway, I'm trying to find out if there are any advantages to developing with Adobe's Flash Builder 4 (adobe's commercial IDE) vs. Eclipse (which Adobe seems to also heavily support, they make and support a special plugin for it).
My main language is PHP so my end goal is to integrate Flex with PHP. It sounds like Adobe did a decent job with integration in the Flash Builder 4 release (you can choose a language and choose data services options, etc. which should make that integration smoother), but is that integration only available through their commercial Flash Builder 4 or is it also available through the plugin they release for Eclipse? I'm trying to get some advice from those who used the technology so I can make up my mind whether there's a lot of advantage using Adobe's commercial IDE vs. the very robust open source Eclipse IDE. Other aspects I may not have considered are also welcome.
Note: I use php without a framework, and I keep also hearing Zend from Adobe themselves, which is kind of confusing too. I guess they're using part of the zend for remoting. Does anyone know how zend will affect my flex development environment?
Flex Builder and Flash Builder both function as Plug-ins to Eclipse, though each also comes in a "stand-alone" flavor - which is still eclipse, but with a lot of the Eclipse functionality torn out for a smaller footprint.
What you want to do is pretty simple - get eclipse set up, install PDT or whatever your favorite PHP plug-in is and then install Flash/Flex Builder into that same instance of Eclipse. Make sure when you download FB you choose to download the "Plug-in" version instead of the stand-alone version. When you go to install it, it'll ask you where you want to install it - pick a location, and hit next. It will then ask you if you want to plug-in to an existing instance of Eclipse or use the bundled Eclipse (at least Flash Builder comes with a Bundled eclipse). Opt to select an eclipse version and point it toward the Eclipse install that has your PHP coder plugged into it.
If all goes well, once it' done you can open Eclipse and then switch views between Flash Builder and PDT all within one instance of Eclipse. I do this with Aptana, it's very handy to be able to do your HTML, PHP and AS3 all in one editor.
Good luck!
Also [edit]:
Adobe promotes Zend because of a Zend plug-in called ZendAMF. ZendAMF is the spiritual successor to AMFPHP - basically, with a little bit of setup you can create a dev environment where you are able to call PHP functions right from your AS3 code. You can set up a ZendAMF Class, for instance, called getUsers() which then queries your DB and pulls out a list of Users. You can use that to populate PHP ValueObjects, and then it will pass those VO's back to Flex in binary (much, much faster than XML) and if you have it set up correctly they will be data-typed as AS3 Value Objects of the same type.
This is very useful because it's all very transparent - you can then write an AS3 function called getUsers() which returns an Array of value objects, set it up to quietly call your PHP which calls the database, and have it return a value as though it were just all AS3 from start to finish. A bit tricky to set up, but once you're rolling there's really no going back! :)
I'm pretty sure they're actually the same thing - this was certainly the case with Flex Builder 3, and I'm assuming is the case with Flash Builder 4 as well.
The plugin is there for if you have an existing installation of eclipse and want to just add in Flash Builder to that. But if you don't already have it, the Flash Builder stand-alone installation includes eclipse, pre-built with the plugin.
As for Zend - Adobe is currently collaborating over aspects of the Zend Framework to improve integration with your Flex Apps. Zend have there own eclipse plugin called Zend Studio for building Zend Framework apps, which does integrate with the Flash Builder plugin. I've not used it myself, but from what I hear it's not that brilliant. You can still use Flex without any Zend stuff if that's the way you work.
Hope this helps.
You should also check IntelliJ which has support for Flex and PHP. Apparently it's way better than FlexBuilder/Eclipse. We're using Eclipse with the FlexBuilder plugin but are looking to switch over.
You can download and use the Flash Builder Standard program for free if you're a student or unemployed, so I would grab that. The premium version does have some nice to haves like Network Monitoring and better code generation tools.
The standard package will install the Zend PHP engine for remote calls if you use PHP, which is a framework that allows you to write your services in PHP, then make calls in Flash through the Zend engine to PHP. It's pretty useful, and they will easily pull properly formatted PHP services into the data view (a window showing your available service calls).
You can also use other frameworks like AMFPHP.
Overall, the only real differences between the Adobe Flash Builder and Eclipse plugin is if you upgrade to the Premium version or you prefer a concentrated lightweight version of eclipse tailored specifically to Flash (the Builder).