jQuery, PHP and CSS.. NetBeans IDE Still Rocks..

Recently, got an opportunity to do some implementation using Ajax and PHP. Having previously used NetBeans IDE 6.1/6.5 for PHP, it was an obvious choice to come back to NetBeans IDE again.

Although, I am yet to download the latest version, I am currently using 6.8 and I enjoyed every bit of it, while playing with CSS and jQuery for the first time, while implementing Ajax with PHP.

As I am gonna stay with PHP for sometime now, so I guess I better get my NetBeans IDE upgraded, before I miss out on any useful features.

It’s good to be back :)

Simplify Development | NetBeans 6.5

The Only IDE You Still Need..

NetBeans™ IDE 6.5 introduces several new features, including a robust IDE for PHP, JavaScript, Debugging for Firefox and IE, and support for Groovy and Grails. This release also includes a number of enhancements for Java™, Ruby and Rails, and C/C++ development. Java™ feature highlights include: built-in support for Hibernate, Eclipse project import, and Compile-on-Save.

NetBeans™ IDE 6.5 also contains all 6.1 features including an intelligent JavaScript Editor, support for Spring Framework, ClearCase (via Update Center), and RESTful Web Services.

Combining excellent out of the box experience, compelling features, and a great plugin ecosystem, NetBeans™ IDE 6.5 is a must-download for developers.

Intuitive and feature-rich IDE for PHP

  • Simplify your PHP development with the award-winning open source NetBeans IDE.
  • Value Proposition: The NetBeans IDE for PHP offers the best of both worlds: the productivity of an IDE (code completion, real-time error checking, debugging and more) with the speed and simplicity of your favorite text editor. The IDE also includes a database explorer, JavaScript editor and debugger, and integrated VCS support. All of these features and more in a less than 30mb download.

Web development simplified

  • Simplify web development with the NetBeans IDE.
  • Value Proposition: The NetBeans IDE supports end to end web development for PHP, Ruby, Java, or Groovy developers. Featuring an advanced JavaScript editor with debugging for Firefox and IE, CSS/HTML code completion, database explorer/SQL query editor, and easy integration with you web stack of choice, the NetBeans IDE provides the web development tools you need.

Python EA Release

Simplify your Python development with the NetBeans IDE for Python- Early Access. This community driven project combines the practical development expertise of Python developers with the experience of IDE development by the NetBeans community.

Download Python EA Release

Developers can enjoy great editor features such as code completion, semantic highlighting, instant rename, smart indentation, pair matching, and more. The EA release also includes a community developed Python debugger as well as the ability to choose between the Python and Jython runtimes.

Python EA Download Webpage

Enjoy NetBeaning!

RIA’s using PHP Support in NetBeans

Hey,

I have been blogging less on this blog these days, however lets focus back on PHP support after last 2 weeks of silence on my blog, where I had blogged about the workshop I did, and special guest entry.

RIA’s

Rich Internet Applications, really? Yes, you’re right. I am talking about RIA’s, this is something new I am exploring these days. So, as I am already in process of creating a PHP Web Application, backed by MySQL Community Server bundled in XAMPP Web Stack.

Its not on a large scale, neither I am doing it for my college, its something I am using as a base to get back to PHP and that too, using NetBeans :) Support is getting better and better, what are you upto?

So, where’s RIA in my application? Hmmm, actually I came across this documentation last week, while preparing the 4th edition of weekly newsletter. So, I thought of implementing auto-completion, and some more effects I discovered while exploring some Ajax toolkits like Script.aculo.us, Dojo, jMaki, etc.

Ajax

This is best thing that has happened to me, when I was writing my first ever PHP Web Application last year, for college project. I simulated some cool stuff using Ajax. They were named as (what my friends told me) Accordion, User Authentication, Feeds, Instant Reply, Highlighted Notifications…

I didn’t use any Toolkit at that time, as I didn’t have much time to explore. So, I did every possible thing, I can to get the above functionalities done, in quick time. You might not even like the structure of the application :| It became complex, no modularity and some more limitations.

Presently,

So, coming back to my current project, I am planning to use Auto-complete, some Slide-up/down effects, in-place editing too. Lets see what happens, as I start off again after a gap of nearly 1 year.

Anyways, I am starting off with this documentation, which Petr Pisl and Troy Giunipero pointed out. By the way, I got a mail recently about some bug fixes, nice :) I will try out the latest build, and update my editor hyperlink review.

Thanks

NetCAT | PHP Editor Hyperlinks Review

Few days back, I posted about navigating from PHP webpage to Javascripts. Today, lets examine more hyperlinks in PHP files and webpages!

PHP Files…

Its demonstrated through following usecases;

Usecase #1

Suppose, following is my php file-

Don’t get into the technicalities of the code, I am still a novice in PHP development, though this is one of the files, I used to logout of a session, in my first and the last project ;)

Anyways, clicking on session_start, session_unregister (takes me to session.php) and sleep (takes you to standard.php).

Petr says,

“The session.php and standard.php files are our signature files, which contains just the function, class or variable signatures with appropriate phpdoc

Following snap, just shows the result of above clicking-

Usecase #2

This actually looks like a bug to me-

I think when I mouseOver require, then I should be taken to file where its defined, and when I mouseOver the URL inside the parantheses, then I should be navigated to that file. Right now, what happens is the following, I am taken to only one file, as it detects only 1 hyperlink, not 2-

Petr agrees with this usecase, its indeed a bug!

Usecase #3

If in the above image, you click on $connect in line #4, then you are taken to line #2, where its created and initialized.

PHP Webpages…

For complete details, like bug reports and more usecases, you need to refer the frequently updated doc-
http://nbguru.wordpress.com/proj-netbeans/php-editor-hyperlinks-review/
Reviewed by Petr Pisl

Coming soon…

More editor-hyperlink’s usecases would be added there, so keep an eye on my blog, for updates!

stay Tuned for more acTion ;)

PHP to Javascript | Hyperlink Navigation

Wow, another surprise, did I miss something in release notes! I hunted again and again, I think I got the treasure first :P Actually, today I was again looking into PHP support, so thought of opening my first ever PHP application, I created using Dreamweaver 8, WAMPServer (which was actually my semester project) last December.

I was going through application’s index.php, which had embedded php scripts, and links to javascripts using following tags-

<script type="text/javascript" src="styles/some_script.js"></script>

where styles/some_script.js is the script used, along with 2 more scripts. So, in body tag, there was a call to one of the functions belonging to one of the three .js files, like-

<body onload="javascript:call_func();">

So, today I was thinking, it would be nice if I click on this function, and get directed to the javascript which has this function, started visualizing it. By mistake, I pressed CTRL (Windows users) and started hovering the mouse over “javascript:call_func();” I was shocked to see it actually detected a hyperlink, I clicked and another shock, it navigated me to the exact line where the function is defined in a particular javascript.

Amazing, isn’t it? Another cool discovery ;)

What are you upto? :)