D
D
des1roer2015-03-25 17:07:50
JavaScript
des1roer, 2015-03-25 17:07:50

Light tools for the WEB?

lately I had to go deep into the web with C#. and if the choice is obvious for a sharp, then for the web I can’t decide. first coded in npp. Like and syntax holds. then switched to yii and the choice fell on netbeans. but this is such a wild brake !!!
I’m already ready to refuse auto-completion (there’s not a lot of it anyway), but here’s the formatting of the code to the form

public function actionCreate()
    {
        $model = new Page;
        // Uncomment the following line if AJAX validation is needed
        // $this->performAjaxValidation($model);
        if (isset($_GET['p_parent']))
            $model->p_parent = $_GET['p_parent'];

        if (isset($_POST['Page']))
        {
            $model->attributes = $_POST['Page'];
            if ($model->save())
            //$this->redirect(array('view','id'=>$model->p_id));
            {
                Yii::app()->user->setFlash('flash', "Успешное создание.");
                $this->redirect(array('index'));
            }
        }
        $this->render('create', array(
            'model' => $model,
        ));
        //
    }

got through. is there something similar for npp ? Or for what other editor?
but that is jstool and it creates a wild disgrace like this
<  ? php
 /* @var $this PageController */
 /* @var $dataProvider CActiveDataProvider */

 $this->breadcrumbs = array(
 		'Страницы', );
  ?  >
  <  ? php if (Yii::app()->user->hasFlash('flash'))
 	 :  ?  >
 	 < div class = "info" >
 		 <  ? php echo Yii::app()->user->getFlash('flash');
  ?  >
  <  / div >
  <  ? php endif;
  ?  >
  <  ? php
 $this->menu = array(
 		array('label' =  > 'Поиск', 'url' =  > array('admin')), );
  ?  >
  < h1 > Страницы <  / h1 >

  <  ? php
 $this->widget('CTreeView', array(
 		'data' =  > $dataTree,
 		'htmlOptions' =  > array(
 				'id' =  > 'treeview-categ',
 				'class' =  > 'treeview-red', //there are some classes that ready to use
 			), ));

 if (!$dataTree)
 	echo CHtml::link('Создать корневой элемент?', array('page/create?new=true'));
 ?  >

UPD
does phpstorm have a plugin for yii ?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
O
OnYourLips, 2015-03-25
@des1roer

PhpStorm and new hardware for it. Without an SSD, lots of RAM and a good processor, it will slow down.

M
Maxim Grechushnikov, 2015-03-25
@maxyc_webber

I work only in phpStorm

6
65536, 2015-03-25
@65536

storm what else. 100 bucks or EAPs
www.jetbrains.com/phpstorm

M
Maxim, 2015-03-25
Antonikhin @STJ

Vim + plugins + brain + hands

S
sergey, 2015-03-26
@zorro76

phpStorm on Linux

A
AlexLIn, 2015-03-25
@AlexLIn

Using Sublime Text 3 and Cloud9 on my server in a docker container.
Happy as an elephant.

C
Centrino, 2015-03-25
@Centrino

You can also look in the direction of Zend_Studio, they have advanced a lot since version 12.

D
Dmitry Pavlov, 2015-11-18
@dmitry_pavlov

Have a look at our selection - The Software Engineer's Online Handbook - there is also a group - Free Online Coding Tools for Developers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question