i am a programer i have programed in C#, asp.net, Visual basic, Java, j2me, and now i want to learn php, i downloaded dreamweaver i choosed php
and i watch only code html i dont know how to put textbox, radiobutton, and more controls, in the another (not java) i choose the control and i move it… it is easy doing it, of this form, i didn’t see nothing as this, in dreamweaver, another question, how do you add class in php? for a programing OO …
add clases and methods (in php i believe they are called functions)
if dreamweaver is bad, what program do you recommend me?
i am a programer i have programed in C#, asp.net, Visual basic, Java, j2me,
Share
Yes, you can use DreamWeaver for PHP development. But don’t expect the same ‘look and feel’ of IDEs like MS C# or VB.
For example, you can create your forms in design view on DreamWeaver by dragging elements onto it, and then add the code by going into code-view. I don’t recall the actual wording used on DreamWeaver but there’s one view with a designer and the other with HTML code.
For example, if you create a textbox on the form, the code behind it will be something like this:
Now, if you want to print some variable from within the code, you could include it in the code view like this:
You can actually incorporate PHP code within the html page simply by enclosing the code within the php tags like above.
But this is only a very elementary example. You can actually use ANY editor and what you use would also depend on the OS you have. For example, on Ubuntu I use GEdit, with a few plugins that help easily read PHP code using a nice colour scheme. But for a beginner, this may not be the ideal thing.
I don’t mean to advertise myself, but I have a simple video of GEdit in use on YouTube. If you’re interested, you may check it out on my channel “marhaonline”.