[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
AndroidGreece.gr - View topic - Native Code Vs PhoneGap (και μαλακιες )
View unanswered posts | View active topics It is currently 05 May 2024, 20:37



Reply to topic  [ 5 posts ] 
 Native Code Vs PhoneGap (και μαλακιες ) 
Author Message
User avatar

Joined: 12 Jul 2011, 18:34
Posts: 125
Post Native Code Vs PhoneGap (και μαλακιες )
Native code is compiled to work directly with the OS.

PhoneGap is mobile framework that allows developers to create HTML 5 and JavaScript pages and sun these inside mobile devices.
While PhoneGap does not support PHP it does support javascript libraries like jQuery mobile which enables you to script and create very good looking apps.

Προβλήματα.

I have noticed that on popular cheaper and slower phones with 600Mhz CPU there are some performance issues with mobile jquery and phonegap.


θέμα.
Από ότι βλέπω σε αρκετά site και στο google play αρκετός κόσμος προγραμματίζει σε αυτές τις μαλακίες. Με αποτέλεσμα αργή ανταπόκριση και αρκετά κρασαρισματα και βγάζουν .apk 50+ mb βλέπε ( Chania CiTY στο google play ). Η γνωστή στρατηγική phonegap και webView. Σήμερα έβλεπα τα comments από το Gazzetta και το Kingbet.
Gazzella 48 five stars και 20 one star.

Ο κόσμος στα comments τους κράζει για τα bugs. Ένας τύπος έκανε post ότι κρασαρει σε Samsung Galaxy S2 με έκδοση 1.1 .
Άκου εκεί στο S2.

Για μένα αυτό είναι απαράδεκτο. Πως θα πάρω αύριο ένα σοβαρό project και να μην μπορώ να του πιστοποιήσω ότι θα τρέχει σε όλα τα κινητά χωρίς bugs. Πως είναι δυνατόν να *(γράφεις κώδικα) σε μια γλώσσα άγνωστη προς το λειτουργικό android. Πως είναι δυνατόν κάθε σοβαρή εταιρία να δίνει σε άτομα project που δεν έχουν καμία σχέση με τον προγραμματισμό τα οποία ξέρουν μόνο να γράφουν Html , αμφιβάλω και αν ξέρουν κώδικα html διότι πλέον όλοι γράφουν σε προγράμματα WYSIWYG .
Ο κατασκευαστές αυτών τον εφαρμογών εκμεταλλεύονται την ακμή των smartphones παρουσιάζοντας τους ότι και καλά πολύ εύκολα θα έχεις την εφαρμογή σου σε android και σε iphone χωρίς μεγάλη επιβάρυνση . Ρίχνοντας τις τιμές για την κατασκευή εφαρμογών. Και όταν αύριο ο θα αποδειχθεί ότι η εφαρμογή που φτιάξανε ήταν fail και δεν θα έχει support θα αναγκαστεί να απευθυνθεί σε άτομα που γράφουν native κωδικά θα του έρθει μεγάλο ταμπλαζ γιατί δεν μπορούμε φυσικά να παρέχουμε support σε WYSIWYG εφαρμογές .

Λογο του digimobile ξεπετάχτηκαν εταιρίες της τσουτσας με προγραμματιστές ότι να είναι, από τον κλάδο του Web Dev και παρέχουν υπηρεσίες κατασκευής εφαρμογών στην θέα του εύκολου κέρδους.


Και μου σκάει ο καθένας και μου λέει είναι κατασκευαστής android/iOS εφαρμογών και όταν τους ρωτάω πως το κάνεις αυτό και καλά "ότι εγώ δεν ξέρω" μου λένε gpap gkoyp και titan. Εκεί αρχίζει το κράξιμο.

Θα πρέπει να σοβαρευτούμε λίγο.

_________________
x8
Αναλαμβάνω κατασκευή Android εφαρμογών...Πμ or Mail me
Θες και Εσυ να γινεις Android Developer?


18 Jun 2012, 17:54
Profile

Joined: 19 Jun 2012, 15:42
Posts: 2
Post Re: Native Code Vs PhoneGap (και μαλακιες )
Καλησπέρα και καλώς σας βρήκα
Θα μου επιτρέψετε να διορθώσω κάποια λάθη τα οποία αναφέρθηκαν, καθώς και την άποψή μου πάνω στο θέμα.

Κατ αρχάς ούτε το Gazetta, ούτε το Kingbet είναι φτιαγμένα με phonegap/cordova + jquery mobile όπως αναφέρετε.
Όλα τα αρνητικά που αναφέρατε, πιθανότατα προέρχονται από το γεγονός ότι κάποιοι προσπάθησαν να γράψουν native code. (ίσως δεν ήξεραν λοιπόν να γράφουν "σωστά" native κώδικα, αλλά για αυτό δεν φταίει το Cordova).
Ίσα ίσα, αν έπαιζαν μέσα σε ένα WebView, δεν θα είχαν τέτοια προβλήματα (όσα λάθη και να κάνεις στα περιεχόμενα του Webview δεν φτάνεις στο σημείο να γίνει τόσο αργή/unresponsive η εφαρμογή)

Επίσης δεν φταίει το phonegap που στο Chania CiTY το μέγεθος της εφαρμογής είναι τεράστιο, αλλά τα assets (εικόνες) που περιέχει, που είναι 40MB. Και σε native εφαρμογή τα assets τόσο μέγεθος θα είχαν.

Από εκεί και πέρα φυσικά ίσως να ναι πιο αργό σε σχέση με native code, αλλά αυτό εμένα προσωπικά δεν μου λέει κάτι καθότι:
1 Κακογραμμένος native code (όπως είδαμε παραπάνω) είναι πολύ πιο αργός/unresponsive
2 Έχουμε φτάσει στην εποχή των 4πύρηνων, το να υποστηρίζω κινεζιές 2ετίας, με 600άρηδες επεξεργαστές δεν είναι από τα φετίχ μου. *2*
3 Το phonegap τρέξει αξιοπρεπέστατα χωρίς να μπορεί να αντιληφθεί διαφορά ο χρήστης σε οποιοδήποτε κινητό κυκλοφορεί με 200+ ευρώ

*2* Πριν από 1,5 χρόνο είχα πάρει το πιο φθηνό android κινητό που κυκλοφορούσε, το v845, με 100ευρώ, και είχε 600άρη επεξεργαστή. Δεν έχει κανένα νόημα η υποστήριξη τέτοιων συσκευών.

Μιλάτε για συναδέλφους σας υποτιμητικά, για εταιρίες "τσούτσας" και για προγραμματιστές "ότι να ναι" μόνο και μόνο επειδή δεν γράφουν σε native κώδικα.
Ίσα ίσα εγώ το βρίσκω πολύ ωραίο που μπορούν και προγραμματιστές (ή "προγραμματιστές" αν προτιμάτε) που δεν είναι απόλυτα εξοικιωμένοι με την java, να μπορούν να υλοποιήσουν τις ιδέες τους.

Προσωπικά έχω δει πολύ καλές εφαρμογές με cordova / jquerymobile, αλλά φυσικά αυτό εξαρτάται από την εφαρμογή. Κάποιες είναι καλύτερο να γραφτούν σε ένα WebView, και κάποιες άλλες είναι καλύτερο να γραφτούν σε native.


19 Jun 2012, 16:20
Profile
User avatar

Joined: 12 Jul 2011, 18:34
Posts: 125
Post Re: Native Code Vs PhoneGap (και μαλακιες )

_________________
x8
Αναλαμβάνω κατασκευή Android εφαρμογών...Πμ or Mail me
Θες και Εσυ να γινεις Android Developer?


19 Jun 2012, 18:57
Profile

Joined: 19 Jun 2012, 15:42
Posts: 2
Post Re: Native Code Vs PhoneGap (και μαλακιες )


19 Jun 2012, 20:01
Profile

Joined: 29 Jun 2012, 02:45
Posts: 21
Post Re: Native Code Vs PhoneGap (και μαλακιες )
Καλησπέρα σας! Είμαι νέος στο χώρο του Development σε κινητά! Προσωπικά κύριε devand κι εγώ το κινητό μου το πήρα λιγότερο από έναν χρόνο πριν 100 ευρώ Lg GT-540 (το οποίο τρέχει ICS) . Χάρη σε αυτό μπορώ τώρα να γράφω τις εφαρμογές που θέλω και να τις τεστάρω. Στη σχολή μου δεν είμαστε γεμάτοι με Galaxy S2 όλοι και πιστεύω το ίδιο επικρατεί και στον έξω κόσμο. Γιατί λοιπόν εγώ να αγνοήσω τους κατόχους τέτοιων συσκευών; Θα ήταν πολύ άδικο και πολύ υπεροπτικό. H άποψή μου πάνω στο θέμα της συζήτησης είναι η εξής: Γιατί να μην γράφεις native code για να κάνεις την εφαρμογή σου και να πρέπει να καταφεύγεις σε WebView και παραπλήσιες λύσεις απλά και μόνο για το κέρδος;;; όταν ο πελάτης έρθει μετά και σου πει αυτό και εκείνο και το τάδε δεν παίζουν τι γίνεται τότε; Δεν λέω ότι στον native code δεν γίνονται αυτά απλά πιστεύω ότι είναι λανθασμένος τρόπος να γράφεις κώδικα για κινητά ειδικά τώρα που "ανθίζει" και η συγγραφή εφαρμογών για Android και iOS ! Προσωπικά δεν θέλω να αποκαλώ προγραμματιστές , ανθρώπους οι οποίοι χρησιμοποιώντας HTML και JavaScript/JQuery κάνουν εφαρμογές για κινητά!
Φιλικά πάντα, rexes!


30 Jun 2012, 21:48
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.