newbie doubts

Login or register to post comments
28 replies [Last post]
Offline
Joined: 08/25/2009

Hi all,

I am just starting with qcubed and it is very very interesting.

The question is that I am a single web developper. I am developping with php, mysql + some jquery.

My dev tools are basically dreamweaver (in code mode) + firebug + xdebug etc etc. The visual part is done by an other person (only graphics and html) I am also responsible of adding the jquery part.

I have to say that for me DW is a excellent editor and the DatabaseTools are good, the insert delete, modifiy generated code are working well.

What I would like to know (from your experience) is if Qcubed could be a usefull tool for me (only one developper) or is it a tool for team developpers ? what benefits could I get ? What kind of tools does the designer need to modify the templates.

Is there any code template for DWeaver ?.

Thank you all.

alex94040's picture
Offline
Joined: 11/06/2008

I've personally developed on top of QCubed as a single developer, and as a part of a larger team of developers. The real reason why QCubed is different is that it's optimized for saving you time - tools like code-generation really make a big difference in one-man projects (because you can't amortize the cost of these menial tasks across multiple people).

I personally would recommend using QCubed on any database-driven website: it's super easy to prototype with, prototype gradually can be grown into the real system; working with designers is a breeze, too. Because of the MVC infrastructure (model-view-controller), developer mainly works with model and controller, and designer works with View (essentially, HTML tags with Render() statements for controls). Take a look at this screencast that talks about MVC in detail: http://qcu.be/files/screencasts/qcubed_mvc/screencast4.html

You might also find this styling tutorial useful: http://examples.qcu.be/assets/_core/php/examples/basic_qform/calculator_...

Dreamweaver: I don't believe there are any code templates for Dreamweaver. I personally would not recommend Dreamweaver as a tool of choice for serious PHP development (it's better for WYSIWYG style stuff - it's great for designers, but not really for hardcode OOP coders). I would look into Eclipse PDT, or Komodo. Some of our folks are using Netbeans.

That said, you CAN use Dreamweaver. You just won't get the nice autocompletion/stronger xdebug integration that many of the other development environments give you.

Offline
Joined: 08/25/2009

OK, alex.

I am going to give it a try :)

Now I have to decide wich ide to try. I know that both Eclipse and Netbeans

are free but as far as I can see, komodo is faster. For me it's very

important to have the library well integrated in the ide (autocompletion).

In the screen casts it's clear that qcubed is well integrated in komodo

(how do you integrate it?.

What about autocompletion in Netbeans and Eclipse ? Which ide should I try ?

Thanks.

Offline
Joined: 09/11/2009

I've used Netbeans and Eclipse, and they both have autocomplete.

Eclipse (Gallileo) has a better autocomplete options (since it doesn't parse only meta data to get variables types, but it searches for assigment of variable), but cos of that it works a bit slower with bigger projects.

I have started using Netbeans recently, cos I have quite a slow computer at work, and project we are working on has 200+ tables. In this scenario Eclipse is almost useless, while Netbeans works smoothly. (:

They both have templates and their autocomplete is narrowed by type. Both recognize properties, and have built-in debugged. Pretty much the same... it is only matter of taste. But if you ask me, I would recommend Netbeans (:

In neither of those IDE-s you don't have to 'integrade' qcubed. It is enough to create new project with existing source. IDE will than automatically scan project and build type structure for autocomplete.

Offline
Joined: 08/25/2009

Yeah,

Ive just downloaded Netbeans and seems fast. I think I gone a like it more

than eclipse. Komodo IDE is $295 USD, don't know if it is 295 times better

than NetBeans :) In the other hand $295 are not the end of the world, if it's

far better (¿?¿? somebody tell us) I think I could buy it.

Greetings, Serg..

Steven Warren's picture
Offline
Joined: 11/06/2008

Komodo has a free 21 day trial.

Offline
Joined: 03/31/2008

VS.PHP has a 30 day trial as well:
http://jcxsoftware.com/

It's a bit iffy, and has been prone to crashing in the past, but the current version has been running stable for a couple days so far. When it runs properly, it's got a nice set of features behind it though. :)

Steven Warren's picture
Offline
Joined: 11/06/2008

I came from a DotNet background, and loved Visual Studio. I tried VS.PHP and even though I am using NuSphere PhpED (Team decision not mine), I must agree with Vexed that VS.PHP is pretty cool.

Offline
Joined: 08/25/2009

VexedPAnda,

are you telling me that "PHP IDE for Visual Studio" is your IDE ? I can't see

the price but works with the free version of VStudio has php and javscript

debugging, does not sound bad. Does it support Qcubed autocomplete ?

Why don't we start a Poll about the tools used ?

Bye.

Offline
Joined: 03/31/2008

Its autocomplete has been iffy in the past, but still about on par with what I've heard from every other IDE. They just released 2.8RC1 yesterday though, and so far it's looking like a winner, but I haven't had enough time with it to really tell.

alex94040's picture
Offline
Joined: 11/06/2008

Vexed - last time I tried VS.PHP, the autocomplete for properties just wasn't there.

For example, if I typed:

$objButton = new QButton($this);
$objButton->

No properties would show up on the button (i'm not even talking about properties that the button inherits from QButtonBase, etc). Did I do something wrong?

Offline
Joined: 08/25/2009

Well, I've downloaded all of them and get better feeling with NetBeans, so I will stay with it ;)

But none of them has a so powerfull site manager as DreamWeaver, in DW you can download/upload any individual file form the ide, you can upload only the changed files and more things, in Netbeans there is no such thing, is there any plugin for that ?

Serg...

Offline
Joined: 09/11/2009

hmmm... I use filezilla for ftp upload... but Netbeans support ftp. I think you just have to create remote project from remote server and enter ftp data.

Offline
Joined: 03/31/2008

VS.PHP seems to randomly show intellisense when it feels like it, and not other times. The new version still has the same problems.

That said, every other IDE I've tried and heard about encounters the same types of issues, randomly showing or not showing suggestions from Gen classes, QControls, QQN, etc.

Offline
Joined: 09/11/2009

In that case, try new Netbeans. It has very good autocomplete, and I am very satisfied with it. But, keep in mind that for every created property you have to write @property in class' meta data. With that autocomplete works flawless. (:

Offline
Joined: 03/31/2008

Unfortunately for me, netbeans had some pretty serious performance issues when I tried it a few months ago, which made it pretty much unbearable to work with.

Offline
Joined: 12/20/2009

I've tried several different IDEs and my favorite so far is NetBeans. The autocomplete seems to work fine in some cases, particularly methods based on objects generated from my database, but not at all for others, like the attributes of controls.

Offline
Joined: 08/25/2009

I agree, I've adopted NetBeans and the autocomplete does not work on some controls attributes. It 's a good IDE. What will happen with it now that Oracle is Going to buy SUN?.

Serg...

akrohn's picture
Offline
Joined: 11/14/2008

I'm also a satisfied netbeans user and therefore made a patch that implemented the correct @property tag for all base control attributes. So with QCubed 1.1.1 netbeans shows the properties of the controls with code completion :)

If someone uses QCubed 1.1.1/Netbeans 6.8 and this does not work for some control, please let me know.

Offline
Joined: 08/25/2009

akrohn, as you know, I am new with both Qcube and Netbeans, tell me how could i Test the code completion you say. I'm using the versions you say.

Bye.

akrohn's picture
Offline
Joined: 11/14/2008

Hello sergisan, I don't know how to test it, but if you miss code completion of a special control attribute, then tell me. It should work out of the box. Just use a QCubed control in netbeans like

$this->btnTest = new QButton($this);
$this->btnTest->

Then all properties of QButton should be shown in netbeans.

Offline
Joined: 08/25/2009

well It does not work for me :(

akrohn's picture
Offline
Joined: 11/14/2008

Hmm strange. For me it works.

Does your sample.php work? Which QCubed/Netbeans version are you using? Is code completion active?

Offline
Joined: 08/25/2009

OK, yes it works, if I ad a previous declaration of the variable.

protected $btnTest;

bye;

Offline
Joined: 12/20/2009

I just upgraded to 1.1.1 and the code completion on NetBeans 6.8 is working very well.

akrohn's picture
Offline
Joined: 11/14/2008

Great to hear it works now!

Offline
Joined: 09/11/2009
alex94040's picture
Offline
Joined: 11/06/2008

By the way, I'm currently trying out Eclipse-based PDT, and I find it working pretty well against QCubed 1.1.1.

gurunaina (not verified)

“The World-Wide Web (W3) was developed to be a pool of human knowledge, which would allow collaborators in remote sites to share their ideas and all aspects of a common project.”

mobile phone blog