Programming :: Coding Dilemma: Build Application With PHP Framework?
May 7, 2009
I've been a PHP developer for about 6 years now - the last two years I have been pretty inactive though. Just recently though, I have been reading resources on all the different programming patterns (Factory, Singleton, Registry, Observer, MVC, etc) to try and get my head around good programming techniques. For myself though I find that I can only truly understand how these methods work when I am forced to do them myself.I have a large project I am doing at my workplace (me only) that involves building a very complex PHP application.
I would like to know your professional opinion; should I spend the extra time to program this PHP application myself and really, properly learn all these different programming patterns? Or, should I just build on top of a PHP framework like the Zend Framework for speed's sake (and flexibility/features)?
I have found understanding exactly how the Zend Framework works hard, just because I haven't been exposed to using these programming patterns myself. I hate that - I want to fully understand exactly what is happening in my application and know exactly how each part relates to others.
View 2 Replies
ADVERTISEMENT
Feb 14, 2011
i want to make a screen capture program for linux as my software engineering project. but i am not getting from where to start. i have a bit knowlege of gtk and that of c/c++ but from where can i get other references which i should know for building it.
View 4 Replies
View Related
Mar 13, 2009
Is there any framework available for network programming in c language just like POCO in c++.
View 1 Replies
View Related
May 23, 2011
i want to do any mini project based on Opencl in Linux platform.so please suggest me some application projects as early as possible.please suggest exact project name .and also i have intel i5 processor and integrated graphics card .I use ubuntu desktop OS.So how I install Opencl framework on my system.
View 1 Replies
View Related
Jul 13, 2010
I have a test framework written in tcl which i run for 5-6 hours.Now i want to retrieve the pid of the process (execution using framework) as first few line of the script and do some processing.
How this PID retrieval is possible in tcl?
View 1 Replies
View Related
Nov 29, 2010
Below is my code to create *.bz2 file.
<?php
//Moving file to temporary directory for compression
move_uploaded_file($_FILES["file"]["tmp_name"],"c:/" . $_FILES["file"]["name"]);
$url="c:/".$_FILES["file"]["name"];
//File compression
[Code]....
Anyone know, how to unzip the file ? I've tried the above code to unzip it but it creates only 1kb of file for any files.
View 3 Replies
View Related
Feb 11, 2010
What sort of libraries can i use for coding of sniffer program for windows and linux? The sniffer that i want to code is for capturing the list of connected clients to AP wirelessly. I do know that the wireless NIC needs to be in 'monitor' mode in both windows and linux.
View 4 Replies
View Related
Sep 11, 2010
[URL]...In this bug, you'll see that I actually fixed my own problems that surfaced when building GNOME Shell from source.
View 1 Replies
View Related
Oct 31, 2010
i am using front end as java and back end RHEL5.i am trying to calling a bash script with java. but i am facing problem.i am using following java coding to use call the bash script
import java.util.*;
import java.io.*;
public class b
[code]....
View 4 Replies
View Related
Feb 3, 2010
From this thread I've decided to try add a feature of removing local port forwardings in ssh.Here are some very ugly and not-yet working hacks what I made so far:
* Patch for channels.c
* Patch for channels.h
* Patch for clientloop.c
I was clearly expecting this to work without any troubles-everything seem to be logically correct, but I made a programming mistake somewhere: don't know where, maybe you will point me to this?Many sites say there is a WAY AROUND with -D param(starting socks proxy as a tunnel-generator), added since 5.2, but I don't need that way around. I need a way through. I use exact ports for exact services and if I want to change it runtime I'd like to have ability to do so.If you have other ideas or points instead of coding this, please share them here & here(original question).
View 2 Replies
View Related
Oct 22, 2010
we usually have to access a batch of computers that is located on campus. This is straightforward enough on Windows, the OS that the computer support center cares about, but I'm interested to see how I would handle this in Debian. The process for Windows is:
1) Run the authentication program, which runs in the background.
2) Use Exceed on Demand (or Putty, but I can't really use that for my classes ), and log into the server. From there, it lets you log in to whatever computer you want. When logging on with Exceed on Demand, Solaris environment is then launched.
Now, I know there's not a lot of technical information here, and I apologize, but I know next to nothing about networking. What I do know is that I'm remotely accessing a secure computer, and then I ssh over to another computer (when using Putty, which was only command-line). I was wondering how easy or hard this would be to do through Debian, including the fact that I need to have the authentication program running.
View 1 Replies
View Related
Jan 23, 2011
there is some error... Parse error: parse error in C:wampwww$_GET ewget.php on line 11
<?php
function create_hashing(){
$url = 'url';
// $urls = $_GET["url"];
$urls=$_GET["$url"];
if (isset($_GET[$urls]))
//Start MD5 Hash Generator\
$pass2=$_GET["$urls"];
[Code]...
View 1 Replies
View Related
Jan 23, 2010
Do Ubuntu have a build in partitioning application. What is the name this application and where is it located?
Also is it possible to create or resize other (out-side) partitions from my Ubuntu partition? I have a 1000GB drive and Ubunta now has the first 100GB. I want to work with the other 900GB of disk space useing the partiton tool from WITH-IN Ubuntu while running, if possible.
What is the name of this tool and where is it. Are there more than one partitioning tools inside the latest version of Ubuntu?
View 5 Replies
View Related
Feb 24, 2011
I need to build a 3 node web server cluster to run a php application. Since the app requires users to login (which means a session state is to be maintained), I will be sharing sessions save path, I also need to share the application directory across 3 nodes. I having trouble deciding which cluster file system to select.
View 5 Replies
View Related
Feb 12, 2011
im trying to build a simple program for my C programming class, this is the source code
#include <stdio.h>
int main()
{
int length, width, length, height, area, perimeter;
perimeter = width + length + height;
area = width * length + heigth;
[Code]...
i dont see any error (you might)but every time i run it it runs but after it asks me to input for the width i do it but it doesn't take me to the length, it just stays blank until i input another value in the same place for the width, it asks me for 4 inputs in total i don;t know why, and after i run it different times it gives me different values for the perimeter and are. how can I fix this?
View 5 Replies
View Related
Jan 30, 2011
How can we build a packet using C?we have a structure called sockaddr_in which is use to for IPv4,so that we can define address,port and etc in this way:
Code:
struct sockaddr_in sock;
sock.sin_family=AF_INET;
[code]...
View 5 Replies
View Related
Jan 19, 2011
I'm trying to build a spi program using c++. I'm able to perform half-duplex transfers using the read/write functions, it works perfectly. Now I need to perform a full-duplex transfer, but I'm facing some problems. When I try to receive more than one byte, the slave returns to me only one byte.Ex: I send: FF FF FF FF FF The slave must return: 03 02 00 13 04 But what is happening is:
1st Transfer:
tx: FF FF FF FF FF
rx: 03 00 00 00 00
2nd Transfer:
tx: FF FF FF FF FF
rx: 02 00 00 00 00
[code].....
View 3 Replies
View Related
Dec 7, 2010
Can I use both USB and Ethernet at the same time on this framework?
View 5 Replies
View Related
May 30, 2009
Any idea about how to install Microsoft.net framework in ubuntu.n
View 1 Replies
View Related
May 29, 2014
I'm trying to setup tools for developing android apps on my Debian Wheezy (backport) system. Eclipse with android plugins is installed. Android SDK installed using android-sdk_r22.6.2-linux.tgz available from URL...My problem is I can't build the android app. The console in Eclipse tells me something (translated) like this;
Code: Select all[2014-05-30 16:36:45 - adb] Unexpected exception 'Cannot run program "/usr/lib/android-sdk-linux/platform-tools/adb": java.io.IOException: error=2, No such file or directory' while attempting to get adb version from '/usr/lib/android-sdk-linux/platform-tools/adb'
I have searched the web quite extensively but found no solution. It seems the issue may be due to I'm having a 64bit system but building the app requires some 32bit stuff.Some older posts suggest adding package by "apt-get install ia32-libs". In later posts (i.e. URL....
Code: Select alldpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
However doing apt-get install libc6:i386 asks me to remove 1536 installed packages and installing just 5 new...
Some info about my system ....
Code: Select all>uname -mrv
3.14-0.bpo.1-amd64 #1 SMP Debian 3.14.4-1~bpo70+1 (2014-05-14) x86_64
View 8 Replies
View Related
May 31, 2011
i am trying to create an exclude regular expression for my build.xml. The problem is, that i am trying to find some info on which REs are acceptable/valid for ant... Is ant using standard regular expressions? POSIX ones? Since it is a java-based tool, the "Java REs" are probably valid. I am a little bit confused. If somebody can help me out with the different RE standards, i would be most obliged.
View 1 Replies
View Related
Mar 26, 2011
I've spent all day trying to figure how to write an ant build.xml file for eclipse. I must have read 20 sites on the web but some how I just am missing it I continue to get the error
Code:
/home/knox/workspace/HW/src/projectBuilder.xml:5: the file attribute is required
here is my file at this point after many variations
Code:
<?xml version="1.0" encoding="UTF-8"?>
[Code]...
It works fine if I leave out the Main-Class line in manifest but then the jar is not executable Dick
View 3 Replies
View Related
Feb 3, 2011
I need to create a SW project both for Windows (written with MS Visual Studio 2005) and Linux. Currently I have a build script for windows and another for Linux. I would like to build the project for both platforms on a single PC. Is there a way of building VS2005 projects with Linux (not using Cmake)?
View 2 Replies
View Related
Jun 18, 2010
Im trying to build parted 2.3, but I always end-up in the same error:
Code:
In file included from arch/linux.c:42:
/usr/include/scsi/scsi.h:152: error: expected specifier-qualifier-list before 'u8'
/usr/include/scsi/scsi.h: In function 'scsi_varlen_cdb_length':
/usr/include/scsi/scsi.h:163: error: 'struct scsi_varlen_cdb_hdr' has no member named 'additional_cdb_length'
[Code]...
View 14 Replies
View Related
Jul 11, 2011
Is is possible to compile (but not install) a library, and then compile a package using that library instead of the version that's installed?
View 4 Replies
View Related
Apr 18, 2009
I tried now for hours to run the sip-communicator. It ends up with the following errors
Code:
Failed to realize: com.sun.media.ProcessEngine@1d592a
Cannot build a flow graph with the customized options:
Unable to transcode format: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
to: gsm/rtp, 8000.0 Hz, Mono, FrameSize=264 bits
outputting to: RAW/RTP
Error: Unable to realize com.sun.media.ProcessEngine@1d592a
14:55:16.400 SCHWERWIEGEND: impl.media.MediaControl.createDataSourceForEncodings().839 Couldn't realize sourceProcessor
14:55:16.400 SCHWERWIEGEND: impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK().731 We failed to process the SDP description of sip:100@192.168.1.10(sip:100@192.168.1.10). Error was: Couldn't realize sourceProcessor .....
I figured out that this has something to do with the Java Media Framework, which is installed. So I played a little with JMStudio. But this dosen't work, too. It doesn't matter which sample rate I chose. I always receive the following message.
Failed to prefetch: cannot open the audio device.
The only audio device I can chose is the JavaSound audio capture. I'm logged in as root.
printenv
Code:
CLASSPATH=/usr/bin/JMF-2.1.1e/lib/jmf.jar:.:
JMFHOME=/usr/bin/JMF-2.1.1e
JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun
LD_LIBRARY_PATH=/usr/bin/JMF-2.1.1e/lib:/usr/lib/mpi/gcc/openmpi/lib
Versions:
openSuse 11
Java 1.6 jdk
JMF2.1.1e
sip-communicator alpha2/alpha3 (tested both)
View 1 Replies
View Related
Jan 18, 2010
Getting error while updating metasploit usind 'mafupdate'
The error:
Quote:
Tried to run 'svn cleanup' (without even knowing what actually it does )
Gave me
Quote:
View 3 Replies
View Related
Jul 27, 2010
I'm thinking of producing a website for a project at uni which would resemble the brainstorm website [URL]. I plan to write it in PHP with a mysql database. How I could start to plan such a project, suggest any PHP frameworks which may make the job easier, any code already available to start me off etc??
View 1 Replies
View Related
Aug 8, 2011
Does anyone knows a good website that discuss on how to setup zend framework on Ubuntu? I'm currently using windows as my web server, and I would like to try it in different OS.
View 1 Replies
View Related
Jan 26, 2011
I tried installing the mac80211 framework on ubuntu 10.10 but after i install it and restart my system , none of my network connections work.
i found a solution to that problem which is a very weird solution. because none of the network connections are working . i try to activate the wireless driver from the System->Administration->Additional Drivers. But it fails , but after it fails my wired network connection comes back online. and then i have acccess to the internet . After that i activate the wireless driver again and it works.
This is obviously the worst possible solution ever. So what i don't understand is why the mac80211 framework is causing these problems. after applying my "solution" i thought of checking the modules installed on my system using lsmod and i see mac80211 there. i don't understand why it is still there after i executed the "sudo make uninstall" command . code...
View 4 Replies
View Related