- Beranda
- Komunitas
- Tech
- Programmer Forum
[Discuss] Symfony 2 PHP Framework
TS
com.gusdecool
[Discuss] Symfony 2 PHP Framework
Berhubung otak gw lagi normal
Maka gw meluangkan waktu menulis thread ini.
What is Symfony?
Why Symfony?
Prasyarat sebelum pakai Symfony?
Instalasi Symfony
Documentation
Recommended Bundle
Soo let's the discuss begin.
RULES!!!!
Segitu dulu ah, lihat animo dari masyarakat
Maka gw meluangkan waktu menulis thread ini.
What is Symfony?
Spoiler for What is Symfony:
Why Symfony?
Spoiler for Why Symfony:
Prasyarat sebelum pakai Symfony?
Spoiler for Prasyarat:
Instalasi Symfony
Spoiler for Installation:
Documentation
Spoiler for documentation:
Recommended Bundle
Spoiler for Bundle:
Soo let's the discuss begin.
RULES!!!!
- Tidak boleh menghina sesama FW kecuali FW kodokbakar
- Pertanyaan basic tentang php tanya disini, keep this thread clean
- Pertanyaan basic tentang javascript tanya disini
- No posting salam2an. e.g. Selamat pagi, hello Mr. A. Keep this thread clean. So subscribe this thread, kalo tenggalam biar gampang nyari
- Kalau ada pertanyaan, and suhu2 lama jawab. Coba PM gw dengan tujuan kasi link pertanyaan anda
- Yang posting di thread ini wajib kasi bintang 5
- Nanya lewat PM is forbidden, kasi link pertanyaan anda yang telah di post di thread ini:
- Ngga ngikutin rule, jangan mewek kena BATA
Segitu dulu ah, lihat animo dari masyarakat
Diubah oleh com.gusdecool 13-04-2014 05:14
nona212 memberi reputasi
1
14.8K
205
Guest
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru
Tampilkan semua post
d4nielyuli4nto
#45
Quote:
Om tanya ttg Entity dulu Dong, ORM nanti sambil jalan
Ceritanya saya mau generate Entity pake Database yang udah ada
Saya udah bisa nih dapet dari sini
http://symfony.com/doc/current/cookb...gineering.html
Udah jadi tuh Semua Entity dan Orm dari tabel2 saya
Cuma sekarang waktu saya mau mulai nampilin data dari salah 1 tabel, sebut aja t_admin muncul pesan eror
Unknown Entity namespace alias 'BloggerBundle'.
500 Internal Server Error - ORMException
Hasil googling Ane dapet info dari sini nih
http://www.nikosalminen.com/2012/04/...-and-doctrine/
Cuma masih ttp eror yang sama
Ini function dalam controller Ane
Code:
public function showAction() {
$proses_tampil = $this->getDoctrine()
->getRepository('BloggerBundle:TAdmin')
[color=red]->getEntityManager('TAdmin')[/color]
->findAll();
if (!$proses_tampil) {
throw $this->createNotFoundException('No news found');
}
$build['proses_tampil'] = $proses_tampil;
return $this->render('FooNewsBundle/:D/efault:show_data_admin.html.twig', $build);
}
Ane tambahin dibagian warna merah sesuai Url di atas
Ada saran Om ?
Diubah oleh d4nielyuli4nto 10-04-2014 20:31
0