CodeIgniter support on netbeans 8.0 - codeigniter

I am new in codeIgniter and trying to do the project in netbeans 8.0. The problem is, I can't download the plugin for codeigniter support. It shows some error like
"Some plugins require plugin PHP Annotation API to be installed."
I checked here for a solution and got this - "http://ellislab.com/forums/viewthread/184716/"
but the thing which I need is this - "http://alielwafdy.wordpress.com/2012/07/28/codeigniter-support-in-netbeans/".
this supports only up to netbeans 7.3.1
what should I do for netbeans 8.0. Please help
I already checked this question. But it is of Netbeans Version - 7. I am asking this question to find if there is an option in Netbeans 8, So this is not a duplicate

Alternate way,
Create folder "CI_Auto_Complete" in outside the project. (ie. like anther project)
place a php file called "CI_AUTO_COMPLETE.php",
copy and paste the code from http://blog.bobbyallen.me/wp-content/uploads/2012/08/netbeans_autocomplete_codeigniter.txt
Add "CI_Auto_Complete" folder to the include path.
Right on click pjt --> properties --> include path --> Add folder.

Still there is no direct plugin available even though you can use auto complete class which will helps you for auto complete words.
copy the php code from http://blog.bobbyallen.me/wp-content/uploads/2012/08/netbeans_autocomplete_codeigniter.txt
save the file into your CodeIgniter Project’s NetBeans folder (in the root, so in the same folder as project.properties and project.xml)
If you have NetBeans currently open you’ll need to restart it for the changes to take effect!

Related

How to integrate Codeigniter 3 framework with netbeans 8 or any version completly

When using Project Kenai works only on netbeans 7.*.
So we can use nb-ci-plugin by nbphpcouncil for the framework support in netbeans.
Even when using nb-ci-plugin there is no auto-completion for the codeigniter HMVC.
All the stack overflow question and answer were for just the codeigniter, but im using HMVC extension. No proper answers given for codigniter with HMVC.
question i refered
NetBeans 8.0 PHP CodeIgniter Framework support -not working in nb-8
How to integrate codeIgniter with netbeans fully -not available for HMVC
YavorK/netbeans_codeigniter_hmvc_autocomplete -not working in nb-8
i refered lots of question and answers but noithing worked.
please help.
Best netbeans plugin to use for codeigniter framework is nb-ci-plugin.
When using nb-ci-plugin choose the correct plugin build for the respective netbeans version.
steps to install this plugin is shown here - be sure to choose the correct plugin build/version
and for the auto-complete for CI-HMVC just add
YavorK/netbeans_codeigniter_hmvc_autocomplete
contents leaving the <?php ?> tag and add it into the file __ci_auto_complete__.php in the netbeans from nbproject folder located in the root of your CI project
To enable auto-complete for your own Controller or Model just add it under
"/**"
for example add a line
* #property Users $users
to include your Users module controller.
And
* #property Mdl_users $mdl_users for your Mdl_users model
for autocomplete when typing $this->users-> use ↑ (up arrow) to select from the methods of Users
After installing the plugins and providing base files in NetBeans (Tools->Options->PHP->CodeIgniter->BaseFiles).
I just copied the codeigniter zip content into the php project in netbeans.folder structure of codeigniter inside php project after that, right click on the project and run so you will see your default navigator with the welcome page from CodeIgniter.

Upgrading existing applications manually MobileFirst Platform Foundation 7.1

I have followed the the instructions from Upgrading existing application manually
Its says :
If you are using the latest interim fix for IBM MobileFirst Platform
Foundation, link the IBMMobileFirstPlatformFoundation.framework and
"openssl.framework" files
My question is :
I cant find openssl.framework in Xcode 7.1. How to get this? (Does it obtain from this link?)
Why Worklight 7.1 need this?
Our Worklight version is : 7.1.0.00-20151107-1647
I am not sure those instructions are correct; see the instructions in the following tutorial: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/hello-world/configuring-a-native-ios-application-with-the-mfp-sdk/#addingNativeSDK
openssl.framework is not mentioned
I would change from manually setting it up to the new approach of using CocoaPods; going forward that is the only way to add the MFP framework.
It is inside the Framework folder. When i created the projects, the following files are added to Framework folder:
IBMMobileFirstPlatformFoundationHybrid.framework
IBMMobileFirstPlatformFoundationJSONStore.framework
openssl.framework
SQLCipher.framework
You might need to manually drag and drop those files.

Domino OSGI Update Site Creation

This is a continuation of a question I asked a few days ago regarding a designer connection for Domino OSGI dev and testing.
In eclipse, I do have the "debugging plug-in" installed (as mentioned by stwissel), and I am fairy certain that it is configured properly.
In a second attempt, I tried to export my plug-in in an update site.
1. import plug-in to feature
2. import feature to update site
3. build update site
I first tried to install using My Widgets in the notes sidebar. I did not get the thing to run with that so, then went into designer and installed it there directly, also nothing.
current stand
I built the update site and deployed using an nsf Update Site as a widget. I use this for openNTF Domino API, the ExtLibs -- it is comfortable and I like it.
I can verify that the feature is available in the application Management window of designer.
3 I expect to see those libraries in the xsp.properties page generation tab, but do not.
questions
1. Am I missing something?
2. Must I add some sort of class/code/flag in order to choose this library/plug-in in designer?
3. How can I best verify that the plug in and not just the feature is installed?
if your XspLibrary is not a 'global' one you probably won't see the activator run until the first nsf that uses it activates it.
seeing as you can't select it in an nsf this is probably why no nsf is ever activating it
can I ask have you correctly defined the library as an extension of com.ibm.commons.Extensions
as type
com.ibm.xsp.Library
if you don't define the extension you will not see it in the list of libraries.
also you must make sure you set the plugin settings to export the XspLibrary class (or package of the class) otherwise designer can't use the class
see this article on the domino designer wiki for an overview of necessary steps to correctly set up the XspLibrary plugin. the manifest.mf / plugin.xml settings are important.
another thing to double check, is to inspect the actual built plugin jar, using something like 7zip. you can open it up like a zip and have a look to make sure the .class files are actually included in the jar. if your build settings are incorrect it may not include them in the jar properly. also make sure the manifest.mf and plugin.xml are in there properly
EDIT from Greg
This should be the link for a non-mobile user
When you setup the debug plugin, it should create an entry in the workspace directory of the Notes client and Domino server (I think down in the RCP directory). This entry points back to the Eclipse workspace. So you don't need to deploy the plug-in. You also should see a warning when loading Notes ( with rparams -console) or Domino on the console about the debug.
Also what I found: auto deployment via Widget works when the update site sits on a server via http or nrpc. It doesn't when it is specified as file:/// so I run a Apache http on local (I need it for other stuff too, so no big deal for me).
I'll check the exact settings when I get back to my Dev workstation
You can identify if a plugin is installed via Help > About IBM Domino Designer, then clicking on the Plug-in Details button in the dialog.
Help > Support > View Log and View Trace should give more details. Trace is more detailed and allows you to write content, as we do for the OpenNTF Domino API. It may allow you to see how far through the code it's going.
That first message is in the XspLibrary class, in the constructor, just using a sysout
/**
* Constructor
*/
public XspLibrary() {
System.out.println("Loading org.openntf.domino.xsp library");
}
Hopefully that should help you see where it's failing.

NetBeans 8.0 PHP CodeIgniter Framework support

I am using netbeans 8.0 it shows auto-complete for zend framework but not for codeigniter. How can I use it with codeigniter for auto-complete support???
Thanks
Copy the code in the answer here: Netbeans code completion for CodeIgniter
into a php file in your project.
I used CI_Autocomplete2.0.php in the root of the project. It's a hack, but it does work. Since I'm familiarizing myself with CI's syntax & naming conventions it does what I want.
I successfully installed one of the Kenai 7.3 modules in 7.4, but the other one they show on the webpage wasn't listed in the plugin options, so I uninstalled it and now I can't get it to re-install again. I haven't tried it in my NetBeans 8 yet though.
Edit: Sorry, I just figured out that the Kenai modules were both listed. The "PHP CI Framework Repository" installed ok (don't know what, if anything, it did yet). It's the "PHP CI Framework" that won't install and lists out a bunch of module dependencies. I'll update again if there's anything to add when I try with Nb8.
You can do this using Project Kenai. Hope that's what you're looking for.
use sublime text editor 2 or 3 and install CI:snippets you will get dropdown for the codeigniter or check this link
http://ellislab.com/forums/viewthread/184716/

Xcode / phonegap - make new version

I have a working app using Xcode/phonegap. It's in the store in version 1.
What is the best way to make version 2 ?
Do I need to create a new project ? If so, can I inherit from all the things I've specified in version 1 ?
Thank you.
Xcode Version 4.6.1 - Phonegap 2.6
To change the version of your project you need to
Open project
Go to Resources
Open -Info.plist
Change bundle version string
You can also edit this file without opening the project.
The file is in the folder, sibling with the www folder.

Resources